网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

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

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 0:45:59