Skip to content

Commit

Permalink
Add UnregisterHotKey support (#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiFati authored Feb 27, 2024
1 parent dc5f699 commit b714b10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions win32/src/win32gui.i
Original file line number Diff line number Diff line change
Expand Up @@ -7699,3 +7699,9 @@ BOOLAPI UnregisterDeviceNotification(HANDLE);
// @pyparm int|Modifiers||Control keys, combination of win32con.MOD_*
// @pyparm int|vk||Virtual key code
BOOLAPI RegisterHotKey(HWND, int, UINT, UINT);

// @pyswig |UnregisterHotKey|Unregisters a previously registeredhotkey
// @pyseeapi UnregisterHotKey
// @pyparm <o PyHANDLE>|hWnd||A handle to the window associated with the hot key to be freed
// @pyparm int|id||The identifier of the hot key
BOOLAPI UnregisterHotKey(HWND, int);

0 comments on commit b714b10

Please sign in to comment.