DkmNativeInstructionAddress.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的 DkmNativeInstructionAddress 对象实例。
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);
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
参数
- RuntimeInstance
- DkmNativeRuntimeInstance
中表示在目标进程中执行的本机代码。
- ModuleInstance
- DkmNativeModuleInstance
中包含 InstructionPointer 的模块。
- RVA
- UInt32
中模块内 InstructionPointer 的 RVA。
- CPUInstruction
- DkmInstructionAddress.CPUInstruction
[In,可选]CPUInstruction 提供 CPU 将执行的地址。 这始终为本机说明提供。 它可为 CLR 或自定义地址提供,具体取决于地址对象的创建方式。
返回
弄此方法调用的结果。