Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 141207 - Last Review: February 12, 2007 - Revision: 2.2
DIB_Enable Sets dpTechnology Field to DT_DISPLAY
This article was previously published under Q141207
When called to fill the GDIINFO structure from a printer driver, the
DIB_Enable function in DIBENGINE.DLL sets the dpTechnology bit in the
GDIINFO structure to DT_DISPLAY.
DIB_Enable () in the DIBENGINE.DLL can be called by printer drivers to fill
the GDIINFO structure when the Enable function of the printer driver gets
called by the GDI. However, because the DIBEngine was designed keeping in
mind the display driver, it sets the dpTechnology to DT_DISPLAY.
When the call from the DIB_Enable returns, you must reset the bit to the
appropriate value so the GDI does not interpret the structure as a display
driver structure. Failure to do so may cause General Protection Fault in
GDI.
APPLIES TO
- Microsoft Windows 95 Driver Development Kit (DDK)
- Microsoft Windows 98 Driver Development Kit (DDK)
- Microsoft Windows Millennium Edition Driver Development Kit
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate