DkmInstructionAddress.GetCurrentCPUAddress Method

Definition

Overloads

GetCurrentCPUAddress()

Resolves a DkmInstructionAddress to a CPU InstructionAddress. This is the reverse mapping of ResolveCPUInstructionAddress. This API is currently only supported by CLR DkmRuntimeInstance objects.

Location constraint: This API should generally be called on the client, but it can be called on the server for translating CLR addresses (but not native-compiled).

GetCurrentCPUAddress(DkmWorkList, DkmCompletionRoutine<DkmGetCurrentCPUAddressAsyncResult>)

Resolves a DkmInstructionAddress to a CPU InstructionAddress. This is the reverse mapping of ResolveCPUInstructionAddress. This API is currently only supported by CLR DkmRuntimeInstance objects.

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: This API should generally be called on the client, but it can be called on the server for translating CLR addresses (but not native-compiled).

GetCurrentCPUAddress()

Resolves a DkmInstructionAddress to a CPU InstructionAddress. This is the reverse mapping of ResolveCPUInstructionAddress. This API is currently only supported by CLR DkmRuntimeInstance objects.

Location constraint: This API should generally be called on the client, but it can be called on the server for translating CLR addresses (but not native-compiled).

public:
 cli::array <System::UInt64> ^ GetCurrentCPUAddress();
public:
 Platform::Array <unsigned long long> ^ GetCurrentCPUAddress();
std::Array <unsigned long> GetCurrentCPUAddress();
public ulong[] GetCurrentCPUAddress ();
member this.GetCurrentCPUAddress : unit -> uint64[]
Public Function GetCurrentCPUAddress () As ULong()

Returns

UInt64[]

[Out] An array of the current CPU Instruction Addresses that map to this DkmInstructionAddress.

Applies to

GetCurrentCPUAddress(DkmWorkList, DkmCompletionRoutine<DkmGetCurrentCPUAddressAsyncResult>)

Resolves a DkmInstructionAddress to a CPU InstructionAddress. This is the reverse mapping of ResolveCPUInstructionAddress. This API is currently only supported by CLR DkmRuntimeInstance objects.

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: This API should generally be called on the client, but it can be called on the server for translating CLR addresses (but not native-compiled).

public:
 void GetCurrentCPUAddress(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::DkmGetCurrentCPUAddressAsyncResult> ^ CompletionRoutine);
public void GetCurrentCPUAddress (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DkmGetCurrentCPUAddressAsyncResult> CompletionRoutine);
member this.GetCurrentCPUAddress : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DkmGetCurrentCPUAddressAsyncResult> -> unit
Public Sub GetCurrentCPUAddress (WorkList As DkmWorkList, CompletionRoutine As DkmCompletionRoutine(Of DkmGetCurrentCPUAddressAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

CompletionRoutine
DkmCompletionRoutine<DkmGetCurrentCPUAddressAsyncResult>

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