SaveDC function Null safety gdi32
- int hdc
The SaveDC function saves the current state of the specified device context (DC) by copying data describing selected objects and graphic modes (such as the bitmap, brush, palette, font, pen, region, drawing mode, and mapping mode) to a context stack.
int SaveDC(
HDC hdc
);
Implementation
int SaveDC(int hdc) {
final _SaveDC =
_gdi32.lookupFunction<Int32 Function(IntPtr hdc), int Function(int hdc)>(
'SaveDC');
return _SaveDC(hdc);
}