网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 21:40:18