Share via


DkmNativeInstructionAddress.Create Method

Definition

Create a new DkmNativeInstructionAddress object instance.

public:
 static Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ Create(Microsoft::VisualStudio::Debugger::Native::DkmNativeRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::Native::DkmNativeModuleInstance ^ ModuleInstance, System::UInt32 RVA, Microsoft::VisualStudio::Debugger::DkmInstructionAddress::CPUInstruction ^ CPUInstruction);
public static Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress Create (Microsoft.VisualStudio.Debugger.Native.DkmNativeRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance ModuleInstance, uint RVA, Microsoft.VisualStudio.Debugger.DkmInstructionAddress.CPUInstruction CPUInstruction);
public static Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress Create (Microsoft.VisualStudio.Debugger.Native.DkmNativeRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance ModuleInstance, uint RVA, Microsoft.VisualStudio.Debugger.DkmInstructionAddress.CPUInstruction? CPUInstruction);
static member Create : Microsoft.VisualStudio.Debugger.Native.DkmNativeRuntimeInstance * Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance * uint32 * Microsoft.VisualStudio.Debugger.DkmInstructionAddress.CPUInstruction -> Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress
Public Shared Function Create (RuntimeInstance As DkmNativeRuntimeInstance, ModuleInstance As DkmNativeModuleInstance, RVA As UInteger, CPUInstruction As DkmInstructionAddress.CPUInstruction) As DkmNativeInstructionAddress

Parameters

RuntimeInstance
DkmNativeRuntimeInstance

[In] Represents the native code executing in a target process.

ModuleInstance
DkmNativeModuleInstance

[In] The module containing the InstructionPointer.

RVA
UInt32

[In] The RVA of InstructionPointer within Module.

CPUInstruction
DkmInstructionAddress.CPUInstruction

[In,Optional] CPUInstruction provides the address that the CPU will execute. This is always provided for native instructions. It may be provided for CLR or custom addresses depending on how the address object was created.

Returns

[Out] Result of this method call.

Applies to