Partager 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 Interface implementation with which this ICorModule instance initializes.

ICorModule::GetMetaDataEmit Method

Gets an interface pointer to an instance of the IMetaDataEmit Interface 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

Reference

ICeeGen Interface
IMetaDataEmit Interface

Other Resources

Metadata Interfaces