Re: Question about DRIVER_INFO_2 for AddPrinterDriverEx
- From: "Christoph Lindemann" <clindemann2@xxxxxxxxxxxxxxxxx>
- Date: Fri, 20 Jul 2007 13:55:43 +0200
"Before calling the AddPrinterDriverEx function, all files required by the
driver must be copied to the system's printer-driver directory. To retrieve
the name of this directory, call the GetPrinterDriverDirectory function."
Please have a look in the AddPrinterDriverEx "remarks" section.
--
Christoph Lindemann
Undocumented Printing
http://www.undocprint.org/
"Manfred Wilner" <mwilner@xxxxxxxxxxxxxxx> wrote in message
news:DB9E17BD-C3CF-490E-9630-86F05E26A67D@xxxxxxxxxxxxxxxx
I want to pre install my printer driver from an application using
AddPrinterDriverEx.
My driver is Unidrv based and I am filling the DRIVER_INFO_2 structure
with
my driver name
Windows NT x86 as environment
unidrv.dll as driver path
my.GPD as data file
myui.dll as config file
When executing this I get the error 2 back that means file not found. Do I
have to include the full path even though an OEM.INF is in the INF
directory?
Thank you for your help.
--
\Manfred
.
- Prev by Date: Reset USB from firmware
- Next by Date: Re: DOT11_OPERATION_MODE_NETWORK_MONITOR in NDIS 6.0 on Vista
- Previous by thread: Re: [WinDDK 6001] Question on crtdefs.h file in DDK
- Next by thread: SPDRP_LOCATION_INFORMATION in Vista differs from XP
- Index(es):