2.2.7.32 LSA_FOREST_TRUST_RECORD2

The LSA_FOREST_TRUST_RECORD2 structure is used to communicate the type, creation time, and data for a forest trust record. The data is determined by the trust type in the union definition that is contained in this structure.

    typedef struct _LSA_FOREST_TRUST_RECORD2 {
      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( ForestTrustBinaryInfo )]
          LSA_FOREST_TRUST_BINARY_DATA BinaryData;
        [case(ForestTrustScannerInfo)] 
          LSA_FOREST_TRUST_SCANNER_INFO ScannerInfo;
      } ForestTrustData;
    } LSA_FOREST_TRUST_RECORD2,
     *PLSA_FOREST_TRUST_RECORD2;

Flags: Contains zero or more flags from LSA Trust Record Flags (section 2.2.1.5). For more information, see the Meaning column in the table of that section.

ForestTrustType:  This value is one of LSA_FOREST_TRUST_RECORD_TYPE (section 2.2.7.22).

Time:  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, UTC.

ForestTrustData:  A LSA_UNICODE_STRING, LSA_FOREST_TRUST_DOMAIN_INFO, LSA_FOREST_TRUST_BINARY_DATA, or LSA_FOREST_TRUST_SCANNER_INFO structure, depending on the value of ForestTrustType, as specified in the structure definition for LSA_FOREST_TRUST_RECORD (section 2.2.7.21).