PRB: GP Fault on DC_BINADJUST if No Input Bins Are Selectable
Article ID: 169593
Article Last Modified on 2/12/2007
APPLIES TO
- Microsoft Windows 95 Driver Development Kit (DDK)
- Microsoft Windows 98 Driver Development Kit (DDK)
- Microsoft Windows Millennium Edition Driver Development Kit
This article was previously published under Q169593
SYMPTOMS
A printer minidriver may cause a GP Fault when processing DC_BINADJUST
(wIndex == 19) if the driver does not create any input bins or does not
make any input bins selectable in UniDrv.
CAUSE
The fault occurs when the driver passes the DC_BINADJUST down to
UniDrvDeviceCapabilities(). UniDrvDeviceCapabilities() does not check for
null string pointers. If no input bins are selected, the bin name strings
will be null and a GP Fault will occur.
RESOLUTION
Printer minidrivers must always create at least one selectable input bin.
You can create an input bin in UniTool by selecting Printer Data/Paper
Info/Source. To make the bin selectable using UniTool, select Printer
Data/Model Data, and make sure at least one bin is enabled for Paper
Sources in the list of Supported Attributes.
STATUS
This behavior is by design.
Keywords: kbprb kbprint KB169593