win32gui.SaveDC

int = SaveDC(hdc)

Save the state of a device context

Parameters

hdc : PyHANDLE

Handle to device context

Return Value

Returns a value identifying the state that can be passed to win32gui::RestoreDC. On error, returns 0.