typedef struct tagDRIVERINFO { /* drvi */
DWORD cVersion;
LPSTR lpDriverName;
LPSTR lpEnvironment;
LPSTR lpDriverPath;
LPSTR lpDeviceName;
LPSTR lpDataFile;
LPSTR lpConfigFile;
} DRIVERINFO;
The DRIVERINFO structure contains information about a printer driver.
cVersion
Specifies this structure's version number. This allows the system to deal with future compatibility issues. For Windows 32, set this field to 32.
lpDriverName
Pointer to a string that specifies the printer driver's name. An example is the string “PSCRIPT.QMS 810”.
lpEnvironment
Pointer to a string that specifies the machine and operating system environment. An example is the string “Win32.x86”.
lpDriverPath
Pointer to a string that specifies the printer driver's fully-qualified pathname. An example is the string “c:\drivers\pscript.dll”.
lpDeviceName
Pointer to a string that specifies the printer the printer driver is for. An example is the string “QMS 810”.
lpDataFile
Pointer to a string that specifies a data file for the printer driver. An example is the string “QMS810.PPD”.
lpConfigFile
Pointer to a string that specifies a configuration file for the printer driver. An example is the string “PSCRIPT.EXE”.
PRINTER, PRINTERSERVER, JOB