Share via


WM_KEYFIRST (Compact 2013)

3/28/2014

This message filters for keyboard messages.

Syntax

WM_KEYFIRST wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

None.

Remarks

Use the WM_KEYFIRST and WM_KEYLAST messages to filter for keyboard messages when using the GetMessage and PeekMessage functions.

Requirements

Header

winuser.h

See Also

Reference

Shell Messages
Keyboard Messages