#ifndef _NTSXS_H
/**
* Header of a string-keyed section. The fixed header is 44 bytes, and each entry is 24 bytes.
* Offsets in the header and entry array are relative to this section header.
* SearchStructureOffset is zero when no hash table is present. Without a usable hash table,
* ENTRIES_IN_PSEUDOKEY_ORDER permits binary search; otherwise the entries are scanned linearly.
*/
typedef struct _ACTIVATION_CONTEXT_STRING_SECTION_HEADER
{
ULONG Magic;
ULONG HeaderSize;
ULONG FormatVersion;
ULONG DataFormatVersion;
ULONG Flags; // ACTIVATION_CONTEXT_STRING_SECTION_*
ULONG ElementCount;
ULONG ElementListOffset; // to ACTIVATION_CONTEXT_STRING_SECTION_ENTRY[], from this struct base
ULONG HashAlgorithm; // HASH_STRING_ALGORITHM_*
ULONG SearchStructureOffset; // to ACTIVATION_CONTEXT_STRING_SECTION_HASH_TABLE, from this struct base
ULONG UserDataOffset; // to data depending on section Id, from this struct base
ULONG UserDataSize;
} ACTIVATION_CONTEXT_STRING_SECTION_HEADER, *PACTIVATION_CONTEXT_STRING_SECTION_HEADER;
View code on GitHubNo description available.