术语 | 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 |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。