GetCurrentPositionEx

3.1

  BOOL GetCurrentPositionEx(hdc, lpPoint)    
  HDC hdc;    
  POINT FAR* lpPoint;    

The GetCurrentPositionEx function retrieves the current position in logical coordinates.

Parameters

hdc

Identifies the device context to get the current position from.

lpPoint

Points to a POINT structure that gets filled with the current position.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.