Share via


DkmModule.GetRegisterRelativeSymbolName Method

Definition

Overloads

GetRegisterRelativeSymbolName(UInt32, Int32, UInt32, DkmProcessorArchitecture)

Gets the symbol name for a register relative value.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

GetRegisterRelativeSymbolName(DkmWorkList, UInt32, Int32, UInt32, DkmProcessorArchitecture, DkmCompletionRoutine<DkmGetRegisterRelativeSymbolNameAsyncResult>)

Gets the symbol name for a register relative value.

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.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

GetRegisterRelativeSymbolName(UInt32, Int32, UInt32, DkmProcessorArchitecture)

Gets the symbol name for a register relative value.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

public:
 System::String ^ GetRegisterRelativeSymbolName(System::UInt32 RVA, int RegIndex, System::UInt32 Offset, Microsoft::VisualStudio::Debugger::DkmProcessorArchitecture ProcessorArchitecture);
public string GetRegisterRelativeSymbolName (uint RVA, int RegIndex, uint Offset, Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture ProcessorArchitecture);
public string? GetRegisterRelativeSymbolName (uint RVA, int RegIndex, uint Offset, Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture ProcessorArchitecture);
member this.GetRegisterRelativeSymbolName : uint32 * int * uint32 * Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture -> string
Public Function GetRegisterRelativeSymbolName (RVA As UInteger, RegIndex As Integer, Offset As UInteger, ProcessorArchitecture As DkmProcessorArchitecture) As String

Parameters

RVA
UInt32

[In] The RVA of the symbol.

RegIndex
Int32

[In] The register index.

Offset
UInt32

[In] The offset from the register.

ProcessorArchitecture
DkmProcessorArchitecture

[In] The processor architecture.

Returns

[Out,Optional] The symbol name for use in formatting.

Applies to

GetRegisterRelativeSymbolName(DkmWorkList, UInt32, Int32, UInt32, DkmProcessorArchitecture, DkmCompletionRoutine<DkmGetRegisterRelativeSymbolNameAsyncResult>)

Gets the symbol name for a register relative value.

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.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

public:
 void GetRegisterRelativeSymbolName(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, System::UInt32 RVA, int RegIndex, System::UInt32 Offset, Microsoft::VisualStudio::Debugger::DkmProcessorArchitecture ProcessorArchitecture, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Symbols::DkmGetRegisterRelativeSymbolNameAsyncResult> ^ CompletionRoutine);
public void GetRegisterRelativeSymbolName (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, uint RVA, int RegIndex, uint Offset, Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture ProcessorArchitecture, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetRegisterRelativeSymbolNameAsyncResult> CompletionRoutine);
member this.GetRegisterRelativeSymbolName : Microsoft.VisualStudio.Debugger.DkmWorkList * uint32 * int * uint32 * Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetRegisterRelativeSymbolNameAsyncResult> -> unit
Public Sub GetRegisterRelativeSymbolName (WorkList As DkmWorkList, RVA As UInteger, RegIndex As Integer, Offset As UInteger, ProcessorArchitecture As DkmProcessorArchitecture, CompletionRoutine As DkmCompletionRoutine(Of DkmGetRegisterRelativeSymbolNameAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

RVA
UInt32

[In] The RVA of the symbol.

RegIndex
Int32

[In] The register index.

Offset
UInt32

[In] The offset from the register.

ProcessorArchitecture
DkmProcessorArchitecture

[In] The processor architecture.

CompletionRoutine
DkmCompletionRoutine<DkmGetRegisterRelativeSymbolNameAsyncResult>

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