DOC: Incorrect iModes Parameter to DDI StretchBlt Functions

Last reviewed: January 8, 1997
Article ID: Q140674
The information in this article applies to:
  • Microsoft Win32 Device Development 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.


KBCategory: kbref kbprint kbdocerr kbdocfix
KBSubcategory: ntddkprnt ntddkvideo
Additional reference words: 3.50 3.51 4.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.