DkmNativeInstructionAddress.FindNearestExport Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FindNearestExport(Int32) |
Finds the nearest module export from the specified instruction address. The export could either be a function or data export, though function exports are far more common. Because exports do not have address ranges, the specified address may not actually be associated with the returned export. |
FindNearestExport(DkmWorkList, DkmCompletionRoutine<DkmFindNearestExportAsyncResult>) |
Finds the nearest module export from the specified instruction address. The export could either be a function or data export, though function exports are far more common. Because exports do not have address ranges, the specified address may not actually be associated with the returned 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. |
FindNearestExport(Int32)
Finds the nearest module export from the specified instruction address. The export could either be a function or data export, though function exports are far more common. Because exports do not have address ranges, the specified address may not actually be associated with the returned export.
public:
System::String ^ FindNearestExport([Runtime::InteropServices::Out] int % ByteOffset);
public string FindNearestExport (out int ByteOffset);
public string? FindNearestExport (out int ByteOffset);
member this.FindNearestExport : int -> string
Public Function FindNearestExport (ByRef ByteOffset As Integer) As String
Parameters
- ByteOffset
- Int32
[Out] Byte offset from the start of the export.
Returns
[Out,Optional] Name of the export.
Applies to
FindNearestExport(DkmWorkList, DkmCompletionRoutine<DkmFindNearestExportAsyncResult>)
Finds the nearest module export from the specified instruction address. The export could either be a function or data export, though function exports are far more common. Because exports do not have address ranges, the specified address may not actually be associated with the returned 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 FindNearestExport(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Native::DkmFindNearestExportAsyncResult> ^ CompletionRoutine);
public void FindNearestExport (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Native.DkmFindNearestExportAsyncResult> CompletionRoutine);
member this.FindNearestExport : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Native.DkmFindNearestExportAsyncResult> -> unit
Public Sub FindNearestExport (WorkList As DkmWorkList, CompletionRoutine As DkmCompletionRoutine(Of DkmFindNearestExportAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- CompletionRoutine
- DkmCompletionRoutine<DkmFindNearestExportAsyncResult>
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.