<div class="content"><p align="right"><a href="https://msdn.microsoft.com/en-us/library/08cf1a65-ef7c-46d3-aa4d-558f5135df3d" data-linktype="external">msdn link</a></p><p>The LSA_FOREST_TRUST_RECORD structure is used to communicate
the type, creation time, and data for a <a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_035d9ce5-f117-4251-8d4d-127c462ec4a0" data-linktype="relative-path">forest trust</a> record. The
data is determined by the <a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_5ee032d0-d944-4acb-bbb5-b1cfc7df6db6" data-linktype="relative-path">trust</a>
type as follows in the definition of the contained union.</p><dl>
<dd>
<div><pre> typedef struct _LSA_FOREST_TRUST_RECORD {
   unsigned long Flags;
   LSA_FOREST_TRUST_RECORD_TYPE ForestTrustType;
   LARGE_INTEGER Time;
   [switch_type(LSA_FOREST_TRUST_RECORD_TYPE), switch_is(ForestTrustType)] 
     union {
     [case(ForestTrustTopLevelName,ForestTrustTopLevelNameEx)] 
       LSA_UNICODE_STRING TopLevelName;
     [case(ForestTrustDomainInfo)] 
       LSA_FOREST_TRUST_DOMAIN_INFO DomainInfo;
     [case(ForestTrustScannerInfo)]
       LSA_FOREST_TRUST_SCANNER_INFO ScannerInfo;
     [default] LSA_FOREST_TRUST_BINARY_DATA Data;
   } ForestTrustData;
 } LSA_FOREST_TRUST_RECORD,
  *PLSA_FOREST_TRUST_RECORD;
</pre></div>
</dd></dl><p><b>Flags:</b>   Contains zero or more flags
from LSA Trust Record Flags (section <a href="1b5fa90f-5d6d-4193-830c-1a53cd518fdb" data-linktype="relative-path">2.2.1.5</a>). See the <b>Meaning</b>
column in the table of that section for related information.</p><p><b>ForestTrustType:</b>  This value is one
of <a href="700a91e8-a1a4-4e1b-9ad6-096b3cf0bef0" data-linktype="relative-path">LSA_FOREST_TRUST_RECORD_TYPE</a>.</p><p><b>Time:</b>  The date and time when this
entry was created. It is a 64-bit value that represents the number of
100-nanosecond intervals since January 1, 1601, <a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_f2369991-a884-4843-a8fa-1505b6d5ece7" data-linktype="relative-path">UTC</a>.</p><p><b>ForestTrustData:</b>  An <a href="4b35e17e-405c-4e99-8ebe-8b28f047156f" data-linktype="relative-path">LSA_UNICODE_STRING</a>, <a href="451ac72f-e9ad-4a4f-961f-d04a2a5b1515" data-linktype="relative-path">LSA_FOREST_TRUST_DOMAIN_INFO</a>,
or <a href="ee2806eb-20d1-4089-97f2-db7384ea4933" data-linktype="relative-path">LSA_FOREST_TRUST_SCANNER_INFO</a>
structure, depending on the value of ForestTrustType as specified in the
structure definition for LSA_FOREST_TRUST_RECORD.</p></div>