Share via


DkmNativeModuleInstance.FindExportName Method

Definition

Overloads

FindExportName(String, Boolean)

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

FindExportName(DkmWorkList, String, Boolean, DkmCompletionRoutine<DkmFindExportNameAsyncResult>)

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

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

FindExportName(String, Boolean)

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

public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ FindExportName(System::String ^ Name, bool IgnoreDataExports);
public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ FindExportName(Platform::String ^ Name, bool IgnoreDataExports);
Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress FindExportName(std::wstring const & Name, bool IgnoreDataExports);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress FindExportName (string Name, bool IgnoreDataExports);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress? FindExportName (string Name, bool IgnoreDataExports);
member this.FindExportName : string * bool -> Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress
Public Function FindExportName (Name As String, IgnoreDataExports As Boolean) As DkmNativeInstructionAddress

Parameters

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

FindExportName(DkmWorkList, String, Boolean, DkmCompletionRoutine<DkmFindExportNameAsyncResult>)

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

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

public:
 void FindExportName(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, System::String ^ Name, bool IgnoreDataExports, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Native::DkmFindExportNameAsyncResult> ^ CompletionRoutine);
public void FindExportName (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, string Name, bool IgnoreDataExports, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Native.DkmFindExportNameAsyncResult> CompletionRoutine);
member this.FindExportName : Microsoft.VisualStudio.Debugger.DkmWorkList * string * bool * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Native.DkmFindExportNameAsyncResult> -> unit
Public Sub FindExportName (WorkList As DkmWorkList, Name As String, IgnoreDataExports As Boolean, CompletionRoutine As DkmCompletionRoutine(Of DkmFindExportNameAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

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.

CompletionRoutine
DkmCompletionRoutine<DkmFindExportNameAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to