Freigeben über


IDkmNativeExportTableDecoder.FindNearestExport Method

Definition

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(Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ nativeAddress, [Runtime::InteropServices::Out] int % byteOffset);
public string FindNearestExport (Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress nativeAddress, 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

Parameters

nativeAddress
DkmNativeInstructionAddress

[In] DkmNativeInstructionAddress is used for addresses that resolve to within a native module. This is used regardless as to if there are symbols for the module.

byteOffset
Int32

[Out] Byte offset from the start of the export.

Returns

[Out,Optional] Name of the export.

Applies to