다음을 통해 공유


ICorModule::Initialize Method

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

HESULT Initialize (
        [in]  DWORD    flags,   
        [in]  REFIID   riidCeeGen, 
        [in]  REFIID   riidEmitter
);

Parameters

  • flags
    [in] Flag values that control the kind of module that is initialized.

  • riidCeeGen
    [in] The IID of the ICeeGen implementation with which to initialize the current ICorModule instance.

  • riidEmitter
    [in] The IID of the IMetaDataEmit implementation with which to initialize the current ICorModule instance.

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

ICorModule Interface

ICeeGen Interface

IMetaDataEmit Interface