Post · 1 min read· p. 2039

Image Flags in the SECTION_IMAGE_INFORMATION

Version 6.0 introduced bit fields in what had been a spare byte in the SECTION_IMAGE_INFORMATION. They are defined as an anonymous structure in union with a UCHAR member named ImageFlags.

MaskDefinitionVersions
0x01UCHAR ComPlusNativeReady : 1;6.0 and higher
0x02UCHAR ComPlusILOnly : 1;6.0 and higher
0x04UCHAR ImageDynamicallyRelocated : 1;6.0 and higher
0x08UCHAR ImageMappedFlat : 1;late 6.0 and higher
0x10UCHAR BaseBelow4gb : 1;6.2 and higher
0x20UCHAR ComPlusPrefer32bit : 1;10.0 and higher
UCHAR Reserved : 5;early 6.0
UCHAR Reserved : 4;late 6.0 to 6.1
UCHAR Reserved : 3;6.2 to 6.3
UCHAR Reserved : 2;10.0 and higher