Share via


CeeSectionAttr Enumeration

Provides values that specify attributes of a section for use by the ICeeGen interface.

typedef enum  {
    sdNone      = 0,
    sdReadOnly  = IMAGE_SCN_CNT_INITIALIZED_DATA |
                  IMAGE_SCN_MEM_READ,
    sdReadWrite = sdReadOnly | IMAGE_SCN_MEM_WRITE,
    sdExecute   = IMAGE_SCN_MEM_READ | IMAGE_SCN_CNT_CODE |
                  IMAGE_SCN_MEM_EXECUTE
} CeeSectionAttr;

Members

Member

Description

sdNone

Section has no attributes.

sdReadOnly

Section contains initialized data that can be only read, not updated.

sdReadWrite

Section contains initialized data that can be read or updated.

sdExecute

Section contains executable code that is allowed to be read and executed.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations