DWORD GetCurrentPosition(hdc) | |||||
HDC hdc; | /* handle of device context | */ |
The GetCurrentPosition function retrieves the logical coordinates of the current position. The current position is set by using the MoveTo function.
hdc
Identifies the device context.
The low-order word of the return value contains the logical x-coordinate of the current position if the function is successful; the high-order word contains the logical y-coordinate.