GetWindowOrgEx

3.1

  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.

Parameters

hdc

Identifies the device context.

lpPoint

Points to a POINT structure. The origin of the window (in logical coordinates) is placed in this structure.

Return Value

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