2.2.2.4.7 _DRIVER_INFO_7

The _DRIVER_INFO_7 structure specifies printer driver information.<108>


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Fixed_Portion (variable)

...

Variable_Data (variable)

...

Fixed_Portion (variable): An array of one or more groups of fixed-size fields, which are defined as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cbSize

cVersion

szDriverNameOffset

szInfNameOffset

szInstallSourceRootOffset

cbSize (4 bytes): The size, in bytes, of the _DRIVER_INFO_7 data structure.

cVersion (4 bytes): A DWORD that has an implementation-specific value that identifies the driver version and the operating system version for which the printer driver was written, as specified in section 2.2.1.3.1.

szDriverNameOffset (4 bytes): This member is synonymous with the NameOffset member.

szInfNameOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the start of the szInfNameArray member.

szInstallSourceRootOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the start of the szInstallSourceRootArray member.

Variable_Data (variable): An array of zero or more groups of optional, variable-size fields, which are defined as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

szInstallSourceRootArray (variable)

...

szInfNameArray (variable)

...

szDriverNameArray (variable)

...

szInstallSourceRootArray (variable): A string that specifies the path from which the driver MUST be installed. The location of this buffer is determined by the value of the szInstallSourceRootOffset member.

szInfNameArray (variable): A string that specifies the name of the driver's installation configuration file. The location of this buffer is determined by the value of the szInfNameOffset member.<109>

szDriverNameArray (variable): This member is synonymous with the NameArray member.