SaveDC function gdi32
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) => _SaveDC(hdc);