GET_Y_LPARAM macro (windowsx.h)

Retrieves the signed y-coordinate from the given LPARAM value.

Syntax

void GET_Y_LPARAM(
   lp
);

Parameters

lp

The data from which the y-coordinate is to be extracted.

Return value

Type: int

Y-coordinate.

Remarks

Use GET_Y_LPARAM instead of HIWORD to extract signed coordinate data. Negative screen coordinates may be returned on multiple monitor systems.

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 windowsx.h (include Windowsx.h)

See also

Conceptual

GET_X_LPARAM

HIWORD

Reference

Windows Data Types