IDkmNativeSymbolProviderCallback.GetNativeInstructionMetadataCallback Method

Definition

Returns address information to the native debug monitor.

public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeAddressMetadata ^ GetNativeInstructionMetadataCallback(Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionSymbol ^ nativeInstruction, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ instructionAddress);
public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeAddressMetadata ^ GetNativeInstructionMetadataCallback(Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionSymbol ^ nativeInstruction, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ instructionAddress);
Microsoft::VisualStudio::Debugger::Native::DkmNativeAddressMetadata GetNativeInstructionMetadataCallback(Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionSymbol const & nativeInstruction, Microsoft::VisualStudio::Debugger::DkmInstructionAddress const & instructionAddress);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeAddressMetadata GetNativeInstructionMetadataCallback (Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionSymbol nativeInstruction, Microsoft.VisualStudio.Debugger.DkmInstructionAddress instructionAddress);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeAddressMetadata? GetNativeInstructionMetadataCallback (Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionSymbol nativeInstruction, Microsoft.VisualStudio.Debugger.DkmInstructionAddress? instructionAddress);
abstract member GetNativeInstructionMetadataCallback : Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionSymbol * Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> Microsoft.VisualStudio.Debugger.Native.DkmNativeAddressMetadata
Public Function GetNativeInstructionMetadataCallback (nativeInstruction As DkmNativeInstructionSymbol, instructionAddress As DkmInstructionAddress) As DkmNativeAddressMetadata

Parameters

nativeInstruction
DkmNativeInstructionSymbol

[In] DkmNativeInstructionSymbol represents a native instruction within a module of the target process. DkmNativeInstructionSymbol are 1:1 with the underlying native instructions. So if there are two template instantiations of a method (ex: MyMethod<CString> and MyMethod<int>) if the linker merges the two instantiations into a single function through COMDAT folding then the methods will be identical. If the linker isn't able to merge the two instantiations then both user-level functions will appear as one DkmNativeInstructionSymbol.

instructionAddress
DkmInstructionAddress

[In,Optional] Abstract representation of an executable code location (ex: EIP value). If resolved, an Instruction Address will be within a particular module instance. An Instruction Address is always within a particular Runtime Instance.

Returns

[Out,Optional] DkmNativeAddressMetadata represents symbol based metadata about addresses. This includes if the address is a thunk, a prolog, or a trampoline.

Applies to