GetStretchBltMode

  int GetStretchBltMode(hdc)    
  HDC hdc; /* handle of device context */

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.

Parameters

hdc

Identifies the device context.

Return Value

The return value specifies the current stretching mode if the function is successful. Otherwise it is zero.

For more information, see the SetStretchBltMode function.

See Also

StretchBlt, SetStretchBltMode