GetWindowExtEx

3.1

  BOOL GetWindowExtEx(hdc, lpSize)    
  HDC hdc;    
  SIZE FAR* lpSize;    

The GetWindowExtEx function retrieves the x- and y-extents of the window associated with the specified device context.

Parameters

hdc

Identifies the device context.

lpSize

Points to a SIZE structure. The x- and y-extents (in logical units) are placed in this structure.

Return Value

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