Delen via


CorPEKind Enumeration

Contains values that describe a portable executable (PE) file, as returned from a call to IMetaDataImport2::GetPEKind.

typedef enum CorPEKind {
    
    peNot           = 0x00000000,
    peILonly        = 0x00000001,
    pe32BitRequired = 0x00000002,
    pe32Plus        = 0x00000004,
    pe32Unmanaged   = 0x00000008
    
} CorPEKind;

Members

Member

Description

peNot

Indicates that this is not a PE file.

peILOnly

Indicates that this PE file contains only managed code.

pe32BitRequired

Indicates that this PE file makes Win32 calls.

pe32Plus

Indicates that this PE file runs on a 64-bit platform.

pe32Unmanaged

Indicates that this PE file is native code.

Remarks

These values can be used in bitwise combinations.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Metadata Enumerations