win32gui.GetLayout

int = GetLayout(hdc)

Retrieves the layout mode of a device context

Parameters

hdc : PyHANDLE

Handle to a device context

Return Value

Returns one of win32con.LAYOUT_*