win32gui.GetBkMode

int = GetBkMode(hdc)

Returns the background mode for a device context

Parameters

hdc : PyHANDLE

Handle to a device context

Return Value

Returns OPAQUE, TRANSPARENT, or 0 on failure