请问windows API中Windowstations是什么样的概念?
在msdn中发现CreateProcessAsUser, Windowstations and Desktops等API和名词,尤其对于Windowstations更是搞得莫名其妙,请问哪位大虾能指点下,谢谢
[解决办法]
对于Windows编程中出现的很多概念一般可直接参考MSDN/Platform SDK
atom table: SDK编程中经常会用到ATOM,用一个16位的索引指向系统存储的一个字符串,跨进程也可使用。常见的如注册窗口类的返回值为一个atom,该值可直接用在CreateWindowEx中作为classname.
An atom table is a system-defined table that stores strings and corresponding identifiers. An application places a string in an atom table and receives a 16-bit integer, called an atom, that can be used to access the string. A string that has been placed in an atom table is called an atom name.
desktop object: 绝大部分程序都是在默认的desktop下工作的,因而编程中很少用到
A desktop has a logical display surface and contains user interface objects such as windows, menus, and hooks; it can be used to create and manage windows. Each desktop object is a securable object. When a desktop is created, it is associated with the current window station of the calling process and assigned to the calling thread.