다음을 통해 공유


ICorModule Interface

Initializes a memory module with the preferred generator and emitter.

interface ICorModule : IUnknown {
        
    HRESULT Initialize (
                DWORD         flags, 
        REFIID        riidCeeGen, 
        REFIID        riidEmitter
    );
        
    HRESULT GetCeeGen ( 
        ICeeGen       **pCeeGen
    ); 
        
    HRESULT GetMetaDataEmit (
                IMetaDataEmit **pEmitter
    );
        
};

Methods

Method

Description

ICorModule::GetCeeGen Method

Gets an interface pointer to an instance of the ICeeGen implementation with which this ICorModule instance initializes.

ICorModule::GetMetaDataEmit Method

Gets an interface pointer to an instance of the IMetaDataEmit implementation with which this ICorModule instance initializes.

ICorModule::Initialize Method

Initializes an ICorModule instance with the specified CEE generator and metadata emitter.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Interfaces

ICeeGen Interface

IMetaDataEmit Interface