HKM_GETHOTKEY message
Gets the virtual key code and modifier flags of a hot key from a hot key control.
Parameters
-
wParam
- Must be zero.
-
lParam
- Must be zero.
Return value
Returns the virtual key code and modifier flags. The LOBYTE of the LOWORD is the virtual key code of the hot key. The HIBYTE of the LOWORD is the key modifier that specifies the keys that define a hot key combination. The modifier flags can be a combination of the following values.
Value | Meaning |
---|---|
HOTKEYF_ALT | ALT key |
HOTKEYF_CONTROL | CONTROL key |
HOTKEYF_EXT | Extended key |
HOTKEYF_SHIFT | SHIFT key |
Remarks
The 16-bit value returned by this message can be used as the wParam parameter in the WM_SETHOTKEY message.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|