win32gui.GetGraphicsMode

int = GetGraphicsMode(hdc)

Determines if advanced GDI features are enabled for a device context

Parameters

hdc : PyHANDLE

Handle to a device context

Return Value

Returns GM_COMPATIBLE or GM_ADVANCED