MoveToEx function Null safety gdi32
The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
BOOL MoveToEx(
HDC hdc,
int x,
int y,
LPPOINT lppt
);
Implementation
int MoveToEx(int hdc, int x, int y, Pointer<POINT> lppt) {
final _MoveToEx = _gdi32.lookupFunction<
Int32 Function(IntPtr hdc, Int32 x, Int32 y, Pointer<POINT> lppt),
int Function(int hdc, int x, int y, Pointer<POINT> lppt)>('MoveToEx');
return _MoveToEx(hdc, x, y, lppt);
}