Delen via


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: 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

ICorModule Interface

ICeeGen Interface

IMetaDataEmit Interface