Share via


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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

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

See Also

Reference

ICeeGen Interface

IMetaDataEmit Interface

Other Resources

Metadata Interfaces