GetWindowExtEx (Windows CE 5.0)

Send Feedback

This function retrieves the x-extent and y-extent of the window for the specified device context.

GetWindowExtEx(HDChdc,LPSIZElpSize);

Parameters

  • hdc
    [in] Handle to the device context.
  • lpSize
    [out] Pointer to a SIZE structure that receives the x- and y-extents in page-space units, that is, logical units.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

SIZE | GDI Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.