GetCurrentPosition

Syntax

DWORD GetCurrentPosition(hDC)

This function retrieves the logical coordinates of the current position.

Parameter Type/Description  

hDC HDC Identifies a device context.  

Return Value

The return value specifies the current position. The y-coordinate is in the high-order word; the x-coordinate is in the low-order word.