The GetStretchBltMode function retrieves the current stretching mode. The stretching mode defines how color data is added to or removed from bitmaps that are stretched or compressed when the StretchBlt function is called.
int GetStretchBltMode(
HDC hdc |
// handle of device context |
); |
If the function succeeds, the return value is the current stretching mode.
If the function fails, the return value is zero. To get extended error information, call GetLastError.