IDkmNativeExportTableDecoder.FindNearestExport 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从指定的指令地址查找最近的模块导出。 导出可以是函数或数据导出,但函数导出更常见。 由于导出没有地址范围,因此指定的地址实际上可能并不与返回的导出关联。
public:
System::String ^ FindNearestExport(Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ nativeAddress, [Runtime::InteropServices::Out] int % byteOffset);
public string FindNearestExport (Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress nativeAddress, out int byteOffset);
abstract member FindNearestExport : Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress * int -> string
Public Function FindNearestExport (nativeAddress As DkmNativeInstructionAddress, ByRef byteOffset As Integer) As String
参数
- nativeAddress
- DkmNativeInstructionAddress
中DkmNativeInstructionAddress 用于在本机模块内解析为的地址。 无论模块是否有符号,都将使用此。
- byteOffset
- Int32
弄从导出开始的字节偏移量。
返回
[Out,Optional]导出的名称。