Muokkaa

Jaa


CeeSectionAttr Enumeration

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

Syntax

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 System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also