<div class="content" name="TargetEntryBLOB" uuid="c914cbbc-eb6f-4843-b344-f20dd0619853"><p>The TargetEntryBLOB holds metadata for the <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_a2c6d1c9-deea-427c-91ee-56f6e726eabd" data-linktype="relative-path">DFS target</a> of a root or a
link.</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">TargetEntrySize</td>
 </tr>
 <tr>
  <td colspan="32">TargetTimeStamp</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">TargetState</td>
 </tr>
 <tr>
  <td colspan="32">TargetType</td>
 </tr>
 <tr>
  <td colspan="16">ServerNameSize</td>
  <td colspan="16">ServerName (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="16">ShareNameSize</td>
  <td colspan="16">ShareName (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>TargetEntrySize (4 bytes): </b>The size, in bytes,
of this target entry, starting from the <b>TargetTimeStamp</b> field, and
stored as an unsigned, 32-bit, <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_079478cb-f4c5-4ce5-b72b-2144da5d2ce7" data-linktype="relative-path">little-endian</a> integer.</p><p><b>TargetTimeStamp (8 bytes): </b>If bits 9 through
63 contain nonzero values, this field encodes the last modification time of
this target entry, stored as FILETIME, as specified in <a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/2c57429b-fdd4-488f-b5fc-9e4cf020fcdf" data-linktype="relative-path">2.3.3</a>.
In this case the <b>PriorityRank</b> and <b>PriorityClass</b> members,
discussed below, are considered to logically contain zero if referenced by an
implementation.</p><dl>
<dd>
<p>If bits 9 through 63 are zero, the 64 bits of the <b>TargetTimeStamp</b>
has the following format:</p>
</dd>
<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="5">PriorityRank</td>
  <td colspan="3">PriorityClass</td>
  <td colspan="24">High56Bits</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>PriorityRank (5 bits): </b>The
priority rank of a target, ranging in value from 0x00 to 0x1F, where 0x00 is
the highest rank.</p>
</dd>
<dd>
<p><b>PriorityClass (3 bits): </b>The
priority class of a target. One of the following values.</p>
<dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>DFS_TARGET_PRIORITY_CLASS_SITE_COST_NORMAL 0x0</td>
  <td>See DfsSiteCostNormalPriorityClass in section 2.2.2.8.</td>
 </tr><tr>
  <td>DFS_TARGET_PRIORITY_CLASS_GLOBAL_HIGH 0x1</td>
  <td>See DfsSGlobalHighPriorityClass in section 2.2.2.8.</td>
 </tr><tr>
  <td>DFS_TARGET_PRIORITY_CLASS_SITE_COST_HIGH 0x2</td>
  <td>See DfsSiteCostHighPriorityClass in section 2.2.2.8</td>
 </tr><tr>
  <td>DFS_TARGET_PRIORITY_CLASS_SITE_COST_LOW 0x3</td>
  <td>See DfsSiteCostLowPriorityClass in section 2.2.2.8</td>
 </tr><tr>
  <td>DFS_TARGET_PRIORITY_CLASS_GLOBAL_LOW 0x4</td>
  <td>see DfsGlobalLowPriorityClass in section 2.2.2.8</td>
 </tr></tbody></table>
</dd></dl></dd>
<dd>
<p><b>High56Bits (7 bytes): </b>Set
to zero.</p>
</dd></dl><p><b>TargetState (4 bytes): </b>The state of this
target, stored as an unsigned, 32-bit, little-endian integer. The mask
0x0000000F is used to extract a bit field that contains one of the following
valid state values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>DFS_STORAGE_STATE_OFFLINE 0x00000001</td>
  <td>This target is offline and unavailable for use.</td>
 </tr><tr>
  <td>DFS_STORAGE_STATE_ONLINE 0x00000002</td>
  <td>This target is online and available for use.</td>
 </tr><tr>
  <td>DFS_STORAGE_STATE_ACTIVE 0x00000004</td>
  <td>This target is active.</td>
 </tr></tbody></table>
</dd></dl><p><b>TargetType (</b>4 bytes): The type of target,
stored as an unsigned, 32-bit, little-endian integer bit field. This SHOULD be
set to 0x00000002.<a id="Appendix_A_Target_16"></a><a aria-label="Product behavior note 16" href="3a466440-1ef6-4439-b4e2-be9eaddeb511#Appendix_A_16" data-linktype="relative-path">&lt;16&gt;</a></p><p><b>ServerNameSize (2 bytes): </b>The size, in bytes,
of the <b>ServerName</b> field, stored as an unsigned 16-bit, little-endian
integer.</p><p><b>ServerName (variable): </b>An array of <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_c305d0ab-8b94-461a-bd76-13b40cb8c4d8" data-linktype="relative-path">Unicode</a> characters that
contains the DFS target server <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_fe6fd875-b30a-44bb-850e-10733990f04c" data-linktype="relative-path">host name</a>. The size of the
array is given in the ServerNameSize field.</p><p><b>ShareNameSize (2 bytes):</b> The size, in bytes,
of the ShareName, stored as an unsigned, 16-bit, little-endian integer.</p><p><b>ShareName (variable):</b> An array of Unicode
characters that contains the DFS target <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_3c179f10-1793-4268-96eb-de4d85a32060" data-linktype="relative-path">share name</a>.</p></div>