Share via


GetWindowOrgEx (Windows CE 5.0)

Send Feedback

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

GetWindowOrgEx(HDChdc,LPPOINTlpPoint);

Parameters

  • hdc
    [in] Handle to the device context.
  • lpPoint
    [out] Pointer to a POINT structure that receives the coordinates, in logical units, of the window origin.

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

POINT | GDI Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.