|
Prev: FileSystem: Non cached read.
Next: Can not use ShellExecute or ShellExecuteEx in Co-installer Entry Point in Vista?
From: Neal Bade on 29 Apr 2008 10:37 What does it mean to return DCR_HALFTONE from my printer drivers DrvDitherColor function? The DDK states that the return value should be "DCR_HALFTONE if the engine should create a halftone approximation for the driver." I return DCR_HALFTONE but this seems to have zero effect on the use of gray or colored brushes used by applications when drawing into my printer DC. In most cases, anything that is not white is printed as black. For example, black text on a gray background prints as a black block. Also, the following is from the comments section of the DDK documentation for DrvDither Color. What the heck does this mean? "Monochrome device drivers, including most raster printers, should use the iMode parameter to tell GDI how to get good gray-scale patterns." I don't understand. The "iMode" parameter is passed to my driver. What does that statement mean "to tell the GDI" ??? |