Microsoft KB Archive/105500

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 15:04, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UNIDRV Does Not Send Black Plane to Dump() Function

Q105500



The information in this article applies to:


  • Microsoft Windows Device Development Kit (DDK) for Windows, version 3.1





SUMMARY

If a minidriver implements its own Dump() function, it must handle black extraction in that function.

UNIDRV.DLL does not create a separate black plane in the PDEVICE structure that is passed to the Dump() function. UNIDRV processes the output for a three- and four-color printer exactly the same until it reaches the Dump() function. If the DC_EXTRACT_BLACK bit is set in UNITOOL and the number of color planes is set to 4, then UNIDRV will extract the black plane in its own Dump() function.

This extraction is performed by removing black bits from (r,g,b) planes and putting them in the black plane. For every bit, (r,g,b) is checked to determine whether it is (0,0,0) (black). If true, that bit is set in the black plane, and cleared in (r,g,b).

Additional query words: 3.10

Keywords :
Issue type :
Technology :


Last Reviewed: November 1, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.