Share via


DkmModuleInstance.SetModule(DkmModule, Boolean) Method

Definition

This method is invoked by a symbol provider to associate a DkmModule with a DkmModuleInstance and to trigger a ModuleSymbolsLoaded event. It may be called only once for a DkmModuleInstance object. Calling this API will both establish the DkmModule<->DkmModuleInstance association, as well as cause a ModuleSymbolsLoaded event to be raised.

public:
 void SetModule(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, bool IsReload);
public void SetModule (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, bool IsReload);
member this.SetModule : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * bool -> unit
Public Sub SetModule (Module As DkmModule, IsReload As Boolean)

Parameters

Module
DkmModule

[In] The DkmModule that is associated with the DkmModuleInstance.

IsReload
Boolean

[In] True if symbols are being reloaded for an existing module, False if this is happening as part of module load processing.

Applies to