Characteristics Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Common Object File Format (COFF) file characteristics.
This enumeration supports a bitwise combination of its member values.
public enum class Characteristics
public enum Characteristics
[System.Flags]
public enum Characteristics
type Characteristics =
[<System.Flags>]
type Characteristics =
Public Enum Characteristics
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
RelocsStripped | 1 | Indicates that the image doesn't contain base relocations and must therefore be loaded at its preferred base address. |
ExecutableImage | 2 | Indicates that the image file is valid and can be run. |
LineNumsStripped | 4 | Indicates that COFF line numbers have been removed from the file. This flag is deprecated and should be zero. |
LocalSymsStripped | 8 | Indicates that COFF symbol table entries for local symbols have been removed from the file. This flag is deprecated and should be zero. |
AggressiveWSTrim | 16 | Indicates that the operating system should aggressively trim the working set for this file. This flag is deprecated and should be zero. |
LargeAddressAware | 32 | Indicates that this executable file can handle memory addresses greater than 2 GB. |
BytesReversedLo | 128 | Indicates that this file uses a little endian byte order. This flag is deprecated and should be zero. |
Bit32Machine | 256 | Indicates that this file is for a 32-bit machine. |
DebugStripped | 512 | Indicates that debugging information is removed from the image file. |
RemovableRunFromSwap | 1024 | Indicates that the image should be fully loaded and copied into the swap file if it's located on a removable media. |
NetRunFromSwap | 2048 | Indicates that the image should be fully loaded and copied into the swap file if it's located on a network media. |
System | 4096 | Indicates that the image file is a system file, not a user program. |
Dll | 8192 | Indicates that the image file is a dynamic-link library (DLL). |
UpSystemOnly | 16384 | Indicates that the file should be run only on a uniprocessor machine. |
BytesReversedHi | 32768 | Indicates that this file uses a big endian byte order. This flag is deprecated and should be zero. |
Remarks
The COFF file characteristics indicate attributes of the object or image file. They are defined by the COFF specification. This enumeration is used by the Characteristics property.