winddiui.h) (DRIVER_UPGRADE_INFO_1 结构

DRIVER_UPGRADE_INFO_1 结构用作打印机接口 DLL 的 DrvUpgradePrinter 函数的输入。

语法

typedef struct _DRIVER_UPGRADE_INFO_1 {
  LPTSTR pPrinterName;
  LPTSTR pOldDriverDirectory;
} DRIVER_UPGRADE_INFO_1, *PDRIVER_UPGRADE_INFO_1;

成员

pPrinterName

指向以 NULL 结尾的字符串的指针,该字符串指定打印机的名称。

pOldDriverDirectory

指向以 NULL 结尾的字符串的指针,该字符串指定可在其中找到旧打印机驱动程序文件的本地目录。

要求

要求
Header winddiui.h (包括 Winddiui.h)

另请参阅

DRIVER_UPGRADE_INFO_2

DrvUpgradePrinter