The UnregisterHotKey function frees a hot key previously registered by the calling thread.
BOOL UnregisterHotKey(
HWND hWnd, |
// window associated with hot key |
int id |
// identifier of hot key |
); |
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.