win32gui.GetStretchBltMode

int = GetStretchBltMode(hdc)

Returns the stretching mode used by win32gui::StretchBlt

Parameters

hdc : PyHANDLE

Handle to a device context

Return Value

Returns one of BLACKONWHITE,COLORONCOLOR,HALFTONE,STRETCH_ANDSCANS,STRETCH_DELETESCANS,STRETCH_HALFTONE,STRETCH_ORSCANS,WHITEONBLACK, or 0 on error.