CopyRect function Null safety user32
The CopyRect function copies the coordinates of one rectangle to another.
BOOL CopyRect(
LPRECT lprcDst,
const RECT *lprcSrc
);
Implementation
int CopyRect(Pointer<RECT> lprcDst, Pointer<RECT> lprcSrc) {
final _CopyRect = _user32.lookupFunction<
Int32 Function(Pointer<RECT> lprcDst, Pointer<RECT> lprcSrc),
int Function(Pointer<RECT> lprcDst, Pointer<RECT> lprcSrc)>('CopyRect');
return _CopyRect(lprcDst, lprcSrc);
}