Share via


CorFileMapping Enumeration

Contains values that describe the type of file mapping that is returned from a call to the IMetaDataInfo::GetFileMapping method.

typedef enum CorFileMapping {
    
    fmFlat                  =   0x0000,
    fmExecutableImage       =   0x0001
    
} CorFileMapping;

Members

Member

Description

fmFlat

The file is mapped as a data file. That is, the SEC_IMAGE flag was not passed to the Microsoft Win32 CreateFileMapping function.

fmExecutableImage

The file is mapped for execution, by using either the LoadLibrary function or the CreateFileMapping function with the SEC_IMAGE flag.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 4

See Also

Reference

IMetaDataInfo::GetFileMapping Method

Other Resources

Metadata Enumerations