GetStretchBltMode

Syntax

int GetStretchBltMode(hDC)

This function retrieves the current stretching mode. The stretching mode defines how information is to be added or removed from bitmaps that are stretched or compressed by using the StretchBlt function.

Parameter Type/Description  

hDC HDC Identifies the device context.  

Return Value

The return value specifies the current stretching mode. It can be WHITEONBLACK, BLACKONWHITE, or COLORONCOLOR. For more information, see the SetStretchBltMode function, later in this chapter.