网站首页  词典首页

请输入您要查询的函数:

 

术语 setprocesswindowstation
释义 SetProcessWindowStation
语法:
C++
BOOL WINAPI SetProcessWindowStation(
__in HWINSTA hWinSta
);
SetProcessWindowStation函数
分配给指定的窗口站到调用进程。这使我们可以在窗口站的进程来访问对象,如桌面,剪贴板,和全球原子。在窗口站使用访问权授予hWinSta所有后续行动。
参数
hWinSta [in]
句柄的窗口站。这可以是处理由CreateWindowStation,OpenWindowStation,或GetProcessWindowStation函数返回。
这个窗口站必须与本届会议。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
CreateWindowStation
GetProcessWindowStation
OpenWindowStation
SetThreadDesktop
窗口站和桌面功能
窗口站
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==SetProcessWindowStation Function
Assigns the specified window station to the calling process. This enables the process to access objects in the window station such as desktops, the clipboard, and global atoms. All subsequent operations on the window station use the access rights granted to hWinSta.
Syntax
C++
BOOL WINAPI SetProcessWindowStation(
__in HWINSTA hWinSta
);
Parameters
hWinSta [in]
A handle to the window station. This can be a handle returned by the CreateWindowStation , OpenWindowStation , or GetProcessWindowStation function.
This window station must be associated with the current session.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
CreateWindowStation
GetProcessWindowStation
OpenWindowStation
SetThreadDesktop
Window Station and Desktop Functions
Window Stations
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms686232(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:15:59