summaryrefslogtreecommitdiff
path: root/include/m_hotkeys.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_hotkeys.h')
-rw-r--r--include/m_hotkeys.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/m_hotkeys.h b/include/m_hotkeys.h
index 7d6acba08f..7bd596b3ed 100644
--- a/include/m_hotkeys.h
+++ b/include/m_hotkeys.h
@@ -63,8 +63,8 @@ extern int hLangpack;
/* CoreHotkeys/Register service
Registers new hotkey
- wParam=(WPARAM)0
- lParam=(LPARAM)(HOTKEYDESC *)hotkey
+ wParam = (WPARAM)0
+ lParam = (LPARAM)(HOTKEYDESC *)hotkey
Returns 0 on failure or hotkey atom id on success
*/
@@ -75,23 +75,23 @@ __inline static INT_PTR Hotkey_Register(HOTKEYDESC *hk)
/* CoreHotkeys/Unregister service
Unregister existing hotkey
- wParam=(WPARAM)0
- lParam=(LPARAM)(char *)pszName
+ wParam = (WPARAM)0
+ lParam = (LPARAM)(char *)pszName
Returns 0 on success or nonzero otherwise
*/
#define MS_HOTKEY_UNREGISTER "CoreHotkeys/Unregister"
/* CoreHotkeys/Check service
Checks if "manual" hotkey was activated and returns its id.
- wParam=(WPARAM)(MSG *)message
- lParam=(LPARAM)(char *)pszSection
+ wParam = (WPARAM)(MSG *)message
+ lParam = (LPARAM)(char *)pszSection
Returns lParam associated with activated hotkey
*/
#define MS_HOTKEY_CHECK "CoreHotkeys/Check"
/* Subclass/unsubclass edit box to act as hotkey control
- wParam=(WPARAM)(HWND)hwndEdit
- lParam=(LPARAM)0
+ wParam = (WPARAM)(HWND)hwndEdit
+ lParam = (LPARAM)0
Returns zero on success
You will get notification with LOWORD(wParam) == 0 when users sets hotkey.