DkmInstructionSymbol.Bind(DkmModuleInstance) Method

Definition

Binds an instruction symbol to a particular module instance. An instruction symbol is connected to a DkmModule rather than a DkmModuleInstance, so it is not bound to a particular process, app domain, or module base address.

public:
 Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ Bind(Microsoft::VisualStudio::Debugger::DkmModuleInstance ^ ModuleInstance);
public Microsoft.VisualStudio.Debugger.DkmInstructionAddress Bind (Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance);
member this.Bind : Microsoft.VisualStudio.Debugger.DkmModuleInstance -> Microsoft.VisualStudio.Debugger.DkmInstructionAddress
Public Function Bind (ModuleInstance As DkmModuleInstance) As DkmInstructionAddress

Parameters

ModuleInstance
DkmModuleInstance

[In] 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.

Returns

[Out] Abstract representation of an executable code location (ex: EIP value). If resolved, an Instruction Address will be within a particular module instance. An Instruction Address is always within a particular Runtime Instance.

Applies to