다음을 통해 공유


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

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Enumerations