2.2.8 CORE_PRINTER_DRIVER

The CORE_PRINTER_DRIVER structure specifies information that identifies a specific core printer driver. See the RpcAsyncGetCorePrinterDrivers method (section 3.1.4.2.9) for an example of its use.

 typedef struct _CORE_PRINTER_DRIVER {
   GUID CoreDriverGUID;
   FILETIME ftDriverDate;
   DWORDLONG dwlDriverVersion;
   wchar_t szPackageID[260];
 } CORE_PRINTER_DRIVER;

CoreDriverGUID: A GUID value ([MS-DTYP] sections 2.3.4, 2.3.4.2, and 2.3.4.3) that uniquely identifies the package.

ftDriverDate: A FILETIME value ([MS-DTYP] section 2.3.3) that specifies the date this package was published.

dwlDriverVersion: A 64-bit value that specifies the version of the core printer driver. This version number MAY be used to match the driver version in the driver installation control file.<5>

szPackageID: A string that specifies the package name. The server MUST generate a unique package name when the package is uploaded using the RpcAsyncUploadPrinterDriverPackage method (section 3.1.4.2.8). The length of the string MUST not exceed the maximum path size, which is 260 characters, including a null-terminated character.