<div class="content" name="DRIVER_INFO_5" uuid="e20b5b55-7349-4f50-a9f2-bcc02d958cfc"><p>The <b>_DRIVER_INFO_5</b> structure specifies <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_1a48eebd-e72c-494d-b8cb-84dfb7bc3b65" data-linktype="relative-path">printer
driver</a></span> information.<a id="Appendix_A_Target_105"></a><a aria-label="Product behavior note 105" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_105" data-linktype="relative-path">&lt;105&gt;</a></p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">Fixed_Portion (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">Variable_Data (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>Fixed_Portion (variable): </b>An array of one or
more groups of fixed-size fields, which are defined as follows.</p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">cVersion</td>
 </tr>
 <tr>
  <td colspan="32">NameOffset</td>
 </tr>
 <tr>
  <td colspan="32">EnvironmentOffset</td>
 </tr>
 <tr>
  <td colspan="32">DriverPathOffset</td>
 </tr>
 <tr>
  <td colspan="32">DataFileOffset</td>
 </tr>
 <tr>
  <td colspan="32">ConfigFileOffset</td>
 </tr>
 <tr>
  <td colspan="32">dwDriverAttributes</td>
 </tr>
 <tr>
  <td colspan="32">dwConfigVersion</td>
 </tr>
 <tr>
  <td colspan="32">dwDriverVersion</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><a id="_Hlk142655308"><b>cVersion
(4 bytes):</b> </a>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 <span><a href="4464eaf0-f34f-40d5-b970-736437a21913" data-linktype="relative-path">2.2.1.3.1</a></span>.</p>
</dd>
<dd>
<p><b>NameOffset (4 bytes): </b>A
32-bit unsigned integer that specifies the number of bytes from the start of
the structure to the <b>NameArray</b> member.</p>
</dd>
<dd>
<p><b>EnvironmentOffset (4
bytes):</b> An unsigned integer that specifies the number of bytes from the
start of the structure to the start of the <b>EnvironmentArray</b> member. </p>
</dd>
<dd>
<p><b>DriverPathOffset (4
bytes):</b> An unsigned integer that specifies the number of bytes from the
start of the structure to the start of the <b>DriverPathArray</b> member. </p>
</dd>
<dd>
<p><b>DataFileOffset (4 bytes):</b>
An unsigned integer that specifies the number of bytes from the start of the
structure to the start of the <b>DataFileArray</b> member. </p>
</dd>
<dd>
<p><b>ConfigFileOffset (4
bytes):</b> An unsigned integer that specifies the number of bytes from the
start of the structure to the start of the <b>ConfigFileArray</b> member. </p>
</dd>
<dd>
<p><b>dwDriverAttributes (4
bytes): </b>A bit field that specifies attributes of the printer driver.</p>
<dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>A</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p>Where the bits are defined as
follows.</p>
</dd>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Name</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>PRINTER_DRIVER_PACKAGE_AWARE A</td>
  <td>The printer driver is part of a driver package.</td>
 </tr></tbody></table>
</dd></dl></dd>
<dd>
<p><b>dwConfigVersion (4
bytes): </b>The number of times the printer driver configuration file has been
upgraded (replaced with a newer binary) or downgraded (replaced with an older
binary) since the system was restarted.</p>
</dd>
<dd>
<p><b>dwDriverVersion (4
bytes): </b>The number of times the printer driver executable file has been upgraded
(replaced with a newer binary) or downgraded (replaced with an older binary)
since the system was restarted.</p>
</dd></dl><p><b>Variable_Data (variable): </b>An array of zero or
more groups of optional, variable-size fields, which are defined as follows.</p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">ConfigFileArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">DataFileArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">DriverPathArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">EnvironmentArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">NameArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>ConfigFileArray
(variable):</b> A string that specifies a file name or a full path and file
name for the printer driver configuration module. The location of this buffer
is determined by the value of the <b>ConfigFileOffset</b> member. </p>
</dd>
<dd>
<p><b>DataFileArray (variable):</b>
A string that specifies a file name or a full path and file name for the file
that contains printer driver data. The location of this buffer is determined by
the value of the <b>DataFileOffset</b> member. </p>
</dd>
<dd>
<p><b>DriverPathArray
(variable):</b> A string that specifies a file name or full path and file name
for the file that contains the printer driver. The location of this buffer is
determined by the value of the <b>DependentFilesOffset</b> member. </p>
</dd>
<dd>
<p><b>EnvironmentArray
(variable):</b> A string that specifies the environment that the printer driver
supports. The location of this buffer is determined by the value of the <b>EnvironmentOffset</b>
member. </p>
</dd>
<dd>
<p><b>NameArray (variable): </b>This
member MUST contain a string that specifies the <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_062f3e76-3149-468c-bf64-1535651725d1" data-linktype="relative-path">print processor</a></span>
name. The location of this buffer is determined by the value of the <b>NameOffset</b>
member. For rules governing print processor names, see section <span><a href="807e0bdd-21a5-4a72-9a6a-1a7fb1b08a8e" data-linktype="relative-path">2.2.4.11</a></span>.</p>
</dd></dl><p>Members not defined in this section are identical to members
in the <b>_DRIVER_INFO_4</b> structure (section <span><a href="2a53e910-04c3-4aba-905a-26741dcd59dd" data-linktype="relative-path">2.2.2.4.4)</a></span>.</p></div>