win32gui.PathToRegion

PyGdiHANDLE = PathToRegion(hdc)

Converts a closed path in a DC to a region

Parameters

hdc : PyHANDLE

Handle to a device context that contains a closed path. See win32gui::EndPath.

Comments

On success, the path is deselected from the DC