Freigeben über


GetCurrentPositionEx (Windows CE 5.0)

Send Feedback

This function retrieves the current position in logical coordinates.

WINGDIAPI BOOL WINAPI GetCurrentPositionEx(HDChdc,LPPOINTlpPoint);

Parameters

  • hdc
    [in] Handle to the device context.
  • lpPoint
    [out] Pointer to a POINT structure that receives the logical coordinates of the current position.

Return Values

A nonzero value indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Requirements

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

See Also

MoveToEx | POINT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.