Sent to an application by the IME to notify the application of a key press and to keep message order. A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc( HWND hwnd, WM_IME_KEYDOWN, WPARAM wParam, LPARAM lParam );
A handle to window.
Virtual key code of the key.
Repeat count, scan code, extended key flag, context code, previous key state flag, and transition state flag, as shown in the following table.
Bit Meaning 0-15 Repeat count. 16-23 Scan code. 24 Extended key. This value is 1 if it is an extended key. Otherwise, it is 0. 25-28 Not used. 29 Context code. This value is always 0. 30 Previous key state. This value is 1 if the key is down or 0 if it is up. 31 Transition state. This value is always 0.
An application should return 0 if it processes this message.
|Minimum supported client
||Windows 2000 Professional [desktop apps only]
|Minimum supported server
||Windows 2000 Server [desktop apps only]