DRIVER_INFO_6 structure

来源:互联网 发布:淘宝教育怎么入驻 编辑:程序博客网 时间:2024/06/07 23:24

DRIVER_INFO_6 structure

The DRIVER_INFO_6 structure contains printer driver information.

Syntax

C++
typedef struct _DRIVER_INFO_6 {  DWORD     cVersion;  LPTSTR    pName;  LPTSTR    pEnvironment;  LPTSTR    pDriverPath;  LPTSTR    pDataFile;  LPTSTR    pConfigFile;  LPTSTR    pHelpFile;  LPTSTR    pDependentFiles;  LPTSTR    pMonitorName;  LPTSTR    pDefaultDataType;  LPTSTR    pszzPreviousNames;  FILETIME  ftDriverDate;  DWORDLONG dwlDriverVersion;  LPTSTR    pszMfgName;  LPTSTR    pszOEMUrl;  LPTSTR    pszHardwareID;  LPTSTR    pszProvider;} DRIVER_INFO_6, *PDRIVER_INFO_6, *LPDRIVER_INFO_6;

Members

cVersion

The operating system version for which the driver was written. The supported value is 3.

pName

Pointer to a null-terminated string that specifies the name of the driver (for example, QMS 810).

pEnvironment

Pointer to a null-terminated string that specifies the environment for which the driver was written (for example, Windows NT x86, Windows IA64, and Windows x64.

pDriverPath

Pointer to a null-terminated string that specifies a file name or a full path and file name for the file that contains the device driver (for example, C:\DRIVERS\Pscript.dll).

pDataFile

Pointer to a null-terminated string that specifies a file name or a full path and file name for the file that contains driver data (for example, C:\DRIVERS\Qms810.ppd).

pConfigFile

Pointer to a null-terminated string that specifies a file name or a full path and file name for the device driver's configuration dynamic-link library (for example, C:\DRIVERS\Pscrptui.dll).

pHelpFile

Pointer to a null-terminated string that specifies a file name or a full path and file name for the device driver's help file (for example, C:\DRIVERS\Pscrptui.hlp).

pDependentFiles

A pointer to a MultiSZ buffer that contains a sequence of null-terminated strings. Each null-terminated string in the buffer contains the name of a file the driver depends on. The sequence of strings is terminated by an empty, zero-length string. If pDependentFiles is not NULL and does not contain any file names, it will point to a buffer that contains two empty strings.

pMonitorName

A pointer to a null-terminated string that specifies a language monitor (for example, "PJL monitor"). This member can be NULL and should be specified only for printers capable of bidirectional communication.

pDefaultDataType

A pointer to a null-terminated string that specifies the default data type of the print job (for example, "EMF").

pszzPreviousNames

A pointer to a null-terminated string that specifies previous printer driver names that are compatible with this driver. For example, OldName1\0OldName2\0\0.

ftDriverDate

The date of the driver package, as coded in the driver files.

dwlDriverVersion

Version number of the driver. This comes out of the version structure of the driver.

pszMfgName

Pointer to a null-terminated string that specifies the manufacturer's name.

pszOEMUrl

Pointer to a null-terminated string that specifies the URL for the manufacturer.

pszHardwareID

Pointer to a null-terminated string that specifies the hardware ID for the printer driver.

pszProvider

Pointer to a null-terminated string that specifies the provider of the printer driver (for example, "Microsoft Windows 2000")

Remarks

The strings for these members are contained in the .inf file that is used to add the driver.

If you call AddPrinterDriver or AddPrinterDriverEx with Level not equal to 6, and then you call GetPrinterDriver or EnumPrinterDrivers with Level equal to 6, the DRIVER_INFO_6 structure is returned withpszMfgNamepszOEMUrlpszHardwareID, and pszProvider set to NULLdwlDriverVersion set to 0, and ftDriverDate set to (0,0).

0 0
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 百度网盘别人发我一个链接我怎么办 感觉地下和墙壁里有蚂蚁怎么办? 射像头监控摄像头家用卡满了怎么办 微乐贵阳捉鸡麻将不显示头像怎么办 苹果6p用久了卡怎么办 小猪民宿平台限制三天上线怎么办 交易猫买家申请了仲裁我的钱怎么办 雷达石英手表表里面有小灰尘怎么办 电脑宽带用户名和密码忘记了怎么办 腾讯会员不让别人在异地登录怎么办 中毒后电脑文件后缀是lnk怎么办 wps逗号隔的空不一样大怎么办 电脑盘里的文件删不了怎么办 在淘宝买的qq账号被找回了怎么办 微信公众号的密码忘了怎么办 公众号安全助手密码忘了怎么办 微博账号存在发布违规信息怎么办 余额宝转出到银行卡被冻结怎么办 银行账户被冻结被转出钱怎么办 从余额宝转出的资金被冻结怎么办 微信账号卖了但是实名认证了怎么办 uc下载文档里的文档全没了怎么办 二手乐视没有账号和密码怎么办 华为账号密码忘了手机卡丢了怎么办 联想平板微信更新后不可兼容怎么办 小米手机刷完机账号密码忘了怎么办 红米手机的小米账号密码忘了怎么办 小米手机账号密码手机号忘了怎么办 小米手机忘了账号和密码怎么办 自己的小米账号密码忘了怎么办 小米手机丢了不记得小米账号怎么办 小米手环账号密码忘了怎么办 阴阳师一个区的账号找不到了怎么办 阴阳师手机账号代练登录了后怎么办 我的微信账号被盗更改密码了怎么办 vivo手机密保密码忘了怎么办 华为手机保密柜忘记密保问题怎么办 支付宝账号突然说没有了怎么办 快手号密码可能被盗登不上该怎么办 海岛奇兵小米版换手机了怎么办 申诉找回微信密码验证吗错误怎么办