网站首页  词典首页

请输入您要查询的函数:

 

术语 unregisterhotkey
释义 UnregisterHotKey
语法:
BOOL UnregisterHotKey( HWND hWnd,
int id
);
UnregisterHotKey函数
该UnregisterHotKey函数释放热键先前调用线程登记。
参数
hWnd
[in]处理与热键相关的窗口被释放。此参数应为NULL热键如果不与一个窗口关联。
编号
[in]指定热键标识符被释放。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
有关示例,请参见显示键盘输入。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
键盘输入,RegisterHotKey,WM_HOTKEY
==英文原文==UnregisterHotKey Function
The UnregisterHotKey function frees a hot key previously registered by the calling thread.
Syntax
BOOL UnregisterHotKey( HWND hWnd,
int id
);
Parameters
hWnd
[in] Handle to the window associated with the hot key to be freed. This parameter should be NULL if the hot key is not associated with a window.
id
[in] Specifies the identifier of the hot key to be freed.
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
For an example, see Displaying Keyboard Input .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Keyboard Input , RegisterHotKey , WM_HOTKEY
==原始网址==http://msdn.microsoft.com/en-us/library/ms646327(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:22:17