BUG: DeletePrinter on Remote Printers Causes GPFs
Article ID: 151076
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
This article was previously published under Q151076
SYMPTOMS
The DeletePrinter function in Windows 95 causes a General Protection Fault(GP)Fault if the printer is opened by specifying a UNC pathname.
Note that calling DeletePrinter on remote printers in Windows 95 is not
supported. However, DeletePrinter should fail the call rather than cause a
General Protection Fault.
RESOLUTION
Do not call DeletePrinter in Windows 95 on a printer handle that was opened
by specifying a UNC path in the OpenPrinter function.
Applications should check the version of the operating system and prevent
DeletePrinter from being called when the application is running on Windows
95 and the target printer is specified by a UNC path.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Additional query words: GdiSpool PRINTERS SPOOLING 4.00 Crash failure Spool32 GPF gp gp-f
Keywords: kbbug kbpending KB151076