BOOL GetWindowOrgEx(hdc, lpPoint) | |||
HDC hdc; | |||
POINT FAR* lpPoint; |
This function retrieves the x- and y-coordinates of the origin of the window associated with the specified device context.
hdc
Identifies the device context.
lpPoint
Points to a POINT structure. The origin of the window (in logical coordinates) is placed in this structure.
The return value is nonzero if the function is successful. Otherwise, it is zero.