Freigeben über


IDkmNativeExportTableDecoder.FindExportName Method

Definition

Finds the address of the specified named exported function (or data export).

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);
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

Parameters

nativeModuleInstance
DkmNativeModuleInstance

[In] 'DkmNativeModuleInstance' is used for modules which contain CPU code and/or are loaded by the Win32 loader.

name
String

[In] The export name to search for in the module's export table.

ignoreDataExports
Boolean

[In] If true, the implementation will ignore any export which is in non-executable memory.

Returns

[Out,Optional] If the export was found in the specified module, this will contain the target address. Note that this instruction address object may be in a different module than the searched module. This can happen if the export was forwarded and the destination module is already loaded. If the destination module is not loaded, the export will be ignored.

Applies to