Edit

Share via


GET_APPCOMMAND_LPARAM macro (winuser.h)

Retrieves the application command from the specified LPARAM value.

Syntax

short GET_APPCOMMAND_LPARAM(
    LPARAM lParam
);

Parameters

lParam

The value to be converted.

Return value

Type: short

The return value is the bits of the high-order word representing the application command. It can be one of the following values.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)

See also

Mouse Input Overview