DOC: Incorrect iModes Parameter to DDI StretchBlt Functions
ID: Q140674
|
The information in this article applies to:
-
Microsoft Win32 Device Driver Kit (DDK) for Windows NT, versions 3.5, 3.51
SUMMARY
There is an error in the online documentation for the iModes parameter to
the XxxStretchBlt and XxxPlgBlt functions.
These the XxxStretchBlt and XxxPlgBlt functions are used for both Win32
display drivers and Win32 printer drivers. The iModes parameter defines how
source pixels are combined to get output pixels.
The documentation states that the ULONG iModes parameter should be one of
the following defined values: SB_OR, SB_AND, SB_IGNORE, or SB_HALFTONE.
Actually, these values are not defined. The iModes parameter should be
replaced with one of the following values that are defined in
Sdk\Include\Wingdi.h:
Original Replacement
--------------------------
SB_OR WHITEONBLACK
SB_AND BLACKONWHITE
SB_IGNORE COLORONCOLOR
SB_HALFTONE HALFTONE
This documentation error has been corrected in the Win32 DDK version 4.0
online documentation.
Additional query words:
3.50 3.51 4.00
Keywords : kbdocfix ntddkprnt ntddkvideo
Version : 3.50 3.51
Platform : NT WINDOWS
Issue type :