Compartilhar 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0

See Also

Concepts

Metadata Enumerations