GET_Y_LPARAM

The GET_Y_LPARAM macro retrieves the signed y-coordinate from the given LPARAM value.

int GET_Y_LPARAM(
  LPARAM lParam  // value from which the signed y-coordinate is retrieved
);
 

Parameters

lParam
Specifies the value to be converted.

Return Values

The return value is the high-order int of the specified value.

Remarks

The GET_Y_LPARAM macro is defined as follows:

#define GET_Y_LPARAM(lp)   ((int)(short)HIWORD(lp))
 

See Also

Windows Overview, Window Macros, GET_X_LPARAM, HIWORD, LOWORD