DkmModule.GetModuleInstances Method

Definition

A DkmModule is the symbol handler's representation of a module, and is not bound to any process, connection or runtime instance. This method returns all the DkmModuleInstances which map to this DkmModule. A DkmModule can be bound to zero instances in the case that all of the modules are now unloaded. In this case, GetModuleInstances will return an empty array (S_FALSE return code in native).

public:
 cli::array <Microsoft::VisualStudio::Debugger::DkmModuleInstance ^> ^ GetModuleInstances();
public Microsoft.VisualStudio.Debugger.DkmModuleInstance[] GetModuleInstances ();
member this.GetModuleInstances : unit -> Microsoft.VisualStudio.Debugger.DkmModuleInstance[]
Public Function GetModuleInstances () As DkmModuleInstance()

Returns

[Out] The Module Instance class represent a code bundle (ex: dll or exe) which is loaded into a particular process at a particular location. Module Instance objects are 1:1 with the execution environment's notion of a code bundle. For example, in native code, Module Instance objects are 1:1 with base address.

Applies to