网站首页  词典首页

请输入您要查询的函数:

 

术语 shutdownblockreasondestroy
释义 ShutdownBlockReasonDestroy
语法:
C++
BOOL WINAPI ShutdownBlockReasonDestroy(
__in HWND hWnd
);
ShutdownBlockReasonDestroy功能
表明该系统可以关闭并释放的原因字符串。
参数
hWnd [in]
一个句柄,应用程序的主窗口。
返回值
如果调用成功,则返回值为非零值。
如果调用失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
此功能只能调用的线程创建的hWnd参数指定的窗口。否则,函数失败,最后错误代码为ERROR_ACCESS_DENIED。
If system shutdown has been previously blocked by the ShutdownBlockReasonCreate function, this function frees the reason string.否则,这个函数是一个无操作。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
ShutdownBlockReasonCreate
关机
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ShutdownBlockReasonDestroy Function
Indicates that the system can be shut down and frees the reason string.
Syntax
C++
BOOL WINAPI ShutdownBlockReasonDestroy(
__in HWND hWnd
);
Parameters
hWnd [in]
A handle to the main window of the application.
Return Value
If the call succeeds, the return value is nonzero.
If the call fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
This function can only be called from the thread that created the window specified by the hWnd parameter. Otherwise, the function fails and the last error code is ERROR_ACCESS_DENIED.
If system shutdown has been previously blocked by the ShutdownBlockReasonCreate function, this function frees the reason string. Otherwise, this function is a no-op.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
ShutdownBlockReasonCreate
Shutting Down
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa376878(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 13:20:27