网站首页  计算机词典

请输入您要查询的字词:

 

字词 closedesktop
释义 CloseDesktop
语法:
C++
BOOL WINAPI CloseDesktop(
__in HDESK hDesktop
);
CloseDesktop功能
关闭一个打开的句柄桌面对象。
参数
hDesktop [in]
句柄到桌面被关闭。这可以是处理由CreateDesktop,OpenDesktop,或OpenInputDesktop函数返回。不指定处理由GetThreadDesktop函数返回。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该CloseDesktop函数将失败,如果任何线程调用进程使用指定的台式机处理,或如果处理是指调用进程的初步桌面。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
CreateDesktop
台式机
OpenDesktop
OpenInputDesktop
窗口站和桌面功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==CloseDesktop Function
Closes an open handle to a desktop object.
Syntax
C++
BOOL WINAPI CloseDesktop(
__in HDESK hDesktop
);
Parameters
hDesktop [in]
A handle to the desktop to be closed. This can be a handle returned by the CreateDesktop , OpenDesktop , or OpenInputDesktop functions. Do not specify the handle returned by the GetThreadDesktop 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 .
Remarks
The CloseDesktop function will fail if any thread in the calling process is using the specified desktop handle or if the handle refers to the initial desktop of 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
CreateDesktop
Desktops
OpenDesktop
OpenInputDesktop
Window Station and Desktop Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms682024(VS.85).aspx\n
随便看

 

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

 

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