IDkmNativeExportTableDecoder150.FindExportByOrdinal Method

Definition

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

public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^ FindExportByOrdinal(Microsoft::VisualStudio::Debugger::Native::DkmNativeModuleInstance ^ nativeModuleInstance, System::UInt32 ordinal, bool ignoreDataExports);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress FindExportByOrdinal (Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance nativeModuleInstance, uint ordinal, bool ignoreDataExports);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress? FindExportByOrdinal (Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance nativeModuleInstance, uint ordinal, bool ignoreDataExports);
abstract member FindExportByOrdinal : Microsoft.VisualStudio.Debugger.Native.DkmNativeModuleInstance * uint32 * bool -> Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress
Public Function FindExportByOrdinal (nativeModuleInstance As DkmNativeModuleInstance, ordinal As UInteger, 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.

ordinal
UInt32

[In] The ordinal number to search for in the module's export table (includes the Ordinal Base).

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