Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.02 KB

File metadata and controls

54 lines (36 loc) · 1.02 KB

Home

Function name : UnregisterHotKey

Group: Keyboard Input - Library: user32


The UnregisterHotKey function frees a hot key previously registered by the calling thread.


Code examples:

How to block the ALT+TAB shortcut (WinXP)
How to block the PrintScreen key

Declaration:

BOOL UnregisterHotKey(
	HWND hWnd,
	int id
);  

FoxPro declaration:

DECLARE INTEGER UnregisterHotKey IN user32;
	INTEGER hWnd,;
	INTEGER id
  

Parameters:

hWnd [in] Handle to the window associated with the hot key to be freed.

id [in] Specifies the identifier of the hot key to be freed.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

See also: RegisterHotKey function.