#ifndef _NTSXS_H
/**
* DLL redirection data. PathSegmentOffset and each path segment's Offset are relative to the
* string section header. Segment lengths are in bytes and exclude any terminating WCHAR.
* PATH_OMITS_ASSEMBLY_ROOT causes the assembly storage root to be prepended; PATH_INCLUDES_BASE_NAME
* suppresses appending the requested DLL name. PATH_EXPAND requests environment-variable expansion
* and cannot be combined with PATH_OMITS_ASSEMBLY_ROOT in the runtime loader.
*/
typedef struct _ACTIVATION_CONTEXT_DATA_DLL_REDIRECTION
{
ULONG Size;
ULONG Flags; // ACTIVATION_CONTEXT_DATA_DLL_REDIRECTION_*
ULONG TotalPathLength;
ULONG PathSegmentCount;
ULONG PathSegmentOffset; // to ACTIVATION_CONTEXT_DATA_DLL_REDIRECTION_PATH_SEGMENT[], from section header
} ACTIVATION_CONTEXT_DATA_DLL_REDIRECTION, *PACTIVATION_CONTEXT_DATA_DLL_REDIRECTION;
View code on GitHubNo description available.