IDkmNativeExportTableDecoder.FindExportName 方法

定义

(或数据导出) 查找指定的已命名导出函数的地址。

public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ FindExportName(Microsoft::VisualStudio::Debugger::Native::DkmNativeModuleInstance ^ nativeModuleInstance, System::String ^ name, bool ignoreDataExports);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress FindExportName (Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance nativeModuleInstance, string name, bool ignoreDataExports);
abstract member FindExportName : Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance * string * bool -> Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress
Public Function FindExportName (nativeModuleInstance As DkmNativeModuleInstance, name As String, ignoreDataExports As Boolean) As DkmNativeInstructionAddress

参数

nativeModuleInstance
DkmNativeModuleInstance

中"DkmNativeModuleInstance" 用于包含 CPU 代码和/或由 Win32 加载程序加载的模块。

name
String

中要在模块的导出表中搜索的导出名称。

ignoreDataExports
Boolean

中如果为 true,则实现将忽略不可执行内存中的任何导出。

返回

DkmNativeInstructionAddress

[Out,Optional]如果在指定的模块中找到导出,此操作将包含目标地址。 请注意,此指令地址对象可能位于与搜索模块不同的模块中。 如果导出已转发并且目标模块已加载,则可能会发生这种情况。 如果未加载目标模块,则导出将被忽略。

适用于