网站首页  词典首页

请输入您要查询的函数:

 

术语 closewindowstation
释义 CloseWindowStation
语法:
C++
BOOL WINAPI CloseWindowStation(
__in HWINSTA hWinSta
);
CloseWindowStation功能
关闭一个打开的窗口站处理。
参数
hWinSta [in]
句柄的窗口站被关闭。这种处理是由CreateWindowStation或OpenWindowStation函数返回。不指定处理由GetProcessWindowStation函数返回。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
Windows Server 2003和Windows XP/2000操作系统:此功能不设置失败最后一个错误代码。
备注
该CloseWindowStation函数将失败,如果处理被关闭,是分配给调用进程的窗口站。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
窗口站和桌面功能
窗口站
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==CloseWindowStation Function
Closes an open window station handle.
Syntax
C++
BOOL WINAPI CloseWindowStation(
__in HWINSTA hWinSta
);
Parameters
hWinSta [in]
A handle to the window station to be closed. This handle is returned by the CreateWindowStation or OpenWindowStation function. Do not specify the handle returned by the GetProcessWindowStation function.
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 .
Windows Server 2003 and Windows XP/2000: This function does not set the last error code on failure.
Remarks
The CloseWindowStation function will fail if the handle being closed is for the window station assigned to the calling process.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
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/ms682047(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 11:23:30