Export (0) Print
Expand All
Expand Minimize

MoveToEx (Compact 2013)

3/28/2014

This function updates the current position to the specified point and optionally retrieves the previous position.


WINGDIAPI BOOL WINAPI MoveToEx(
  HDC hdc,
  int X,
  int Y,
  LPPOINT lpPoint
);

hdc

[in] Handle to a device context.

X

[in] Integer that specifies the x-coordinate of the new position, in logical units.

Y

[in] Integer that specifies the y-coordinate of the new position, in logical units.

lpPoint

[out] Pointer to a POINT structure that receives the previous position.

If this parameter is a NULL pointer, MoveToEx does not retrieve the previous position.

A nonzero value indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

The MoveToEx function affects all drawing functions.

If hdc specifies a mirrored device context, the horizontal coordinates increase from right to left rather than from left to right.

Header

windows.h

Library

coredll.lib

Show:
© 2015 Microsoft