网站首页  计算机词典

请输入您要查询的字词:

 

字词 getprocesswindowstation
释义 GetProcessWindowStation
语法:
C++
HWINSTA WINAPI GetProcessWindowStation(void);
GetProcessWindowStation功能
检索的句柄调用进程的当前窗口站。
参数
这个函数没有参数。
返回值
如果函数成功,返回值是一个句柄窗口站。
如果函数失败,返回值为NULL。为了获得更多错误信息,调用GetLastError。
备注
该系统与相关联的过程时,创建一个过程窗口站。一个进程可以使用SetProcessWindowStation函数改变窗口站。
调用进程可以使用返回的处理向GetUserObjectInformation,GetUserObjectSecurity,SetUserObjectInformation,并SetUserObjectSecurity函数调用。
不要关闭处理这个函数返回。
一个服务应用程序创建一个相关的窗口站和桌面,因此没有必要调用用户或GDI函数连接到一个服务窗口站和桌面。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
GetThreadDesktop
GetUserObjectInformation
GetUserObjectSecurity
SetProcessWindowStation
SetUserObjectInformation
SetUserObjectSecurity
窗口站和桌面功能
窗口站
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetProcessWindowStation Function
Retrieves a handle to the current window station for the calling process.
Syntax
C++
HWINSTA WINAPI GetProcessWindowStation(void);
Parameters
This function has no parameters.
Return Value
If the function succeeds, the return value is a handle to the window station.
If the function fails, the return value is NULL. To get extended error information, call GetLastError .
Remarks
The system associates a window station with a process when the process is created. A process can use the SetProcessWindowStation function to change its window station.
The calling process can use the returned handle in calls to the GetUserObjectInformation , GetUserObjectSecurity , SetUserObjectInformation , and SetUserObjectSecurity functions.
Do not close the handle returned by this function.
A service application is created with an associated window station and desktop, so there is no need to call a USER or GDI function to connect the service to a window station and desktop.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
GetThreadDesktop
GetUserObjectInformation
GetUserObjectSecurity
SetProcessWindowStation
SetUserObjectInformation
SetUserObjectSecurity
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/ms683225(VS.85).aspx\n
随便看

 

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

 

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