SetWindowOrgEx (Compact 2013)

3/28/2014

This function specifies which window point maps to the viewport origin (0,0).


SetWindowOrgEx(
  HDC hdc, 
  int X,
  int Y,
  LPPOINT lpPoint
);

hdc

[in] Handle to the device context.

X

[in] Specifies the x-coordinate, in logical units, of the new window origin.

Y

[in] Specifies the y-coordinate, in logical units, of the new window origin.

lpPoint

[out] Pointer to a POINT structure that receives the previous origin of the window, in logical units. If lpPoint is NULL, this parameter is not used.

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

Header

windows.h

Library

coredll.lib

Show: