2.2.2.4.10 _DRIVER_FILE_INFO

The _DRIVER_FILE_INFO structure specifies information about a file belonging to a printer driver.


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

FileNameOffset

FileType

FileVersion

FileNameOffset (4 bytes): A 32-bit unsigned integer that specifies the number of bytes from the start of the _DRIVER_INFO_101 (section 2.2.2.4.9) structure that contains this structure to the start of the FileNameArray field.

FileType (4 bytes): A 32-bit unsigned integer that specifies the file type using one of the constant values from the following table.

Value

Description

0x00000000

The file is a rendering driver module executable.

0x00000001

The file is a configuration module executable.

0x00000002

The file is a driver data file.

0x00000003

The file is a driver help file.

0x00000004

The file is a dependent file with a type other than the preceding file types.

FileVersion (4 bytes): The version of the printer driver file. The actual value is specific to the implementation of the printer driver. Since printer drivers are developed by third parties, it is not practical to list all possible values.

A print client SHOULD use this field to detect a change to the printer driver on a print server.<116>

Variable_Data (variable): An array of zero or more 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

FileNameArray (variable)

...

FileNameArray (variable): A null-terminated string that specifies the name of the file in Unicode UTF-16LE characters. The location of this buffer is determined by the value of the FileNameOffset field.