IDkmNativeExportTableDecoder.FindNearestExport 方法

定义

从指定的指令地址查找最近的模块导出。 导出可以是函数或数据导出,但函数导出更常见。 由于导出没有地址范围,因此指定的地址实际上可能并不与返回的导出关联。

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

弄从导出开始的字节偏移量。

返回

String

[Out,Optional]导出的名称。

适用于