DrawIcon function Null safety user32
Draws an icon or cursor into the specified device context.
BOOL DrawIcon(
HDC hDC,
int X,
int Y,
HICON hIcon
);
Implementation
int DrawIcon(int hDC, int X, int Y, int hIcon) {
final _DrawIcon = _user32.lookupFunction<
Int32 Function(IntPtr hDC, Int32 X, Int32 Y, IntPtr hIcon),
int Function(int hDC, int X, int Y, int hIcon)>('DrawIcon');
return _DrawIcon(hDC, X, Y, hIcon);
}