IDkmThreadLocationProvider.GetCurrentLocation Method

Definition

Provides the location of a thread, as visible in the threads window, or threads drop down in the debug location toolbar.

public:
 void GetCurrentLocation(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::CallStack::DkmGetCurrentLocationAsyncResult> ^ completionRoutine);
public void GetCurrentLocation (Microsoft.VisualStudio.Debugger.DkmThread thread, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.CallStack.DkmGetCurrentLocationAsyncResult> completionRoutine);
abstract member GetCurrentLocation : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.CallStack.DkmGetCurrentLocationAsyncResult> -> unit
Public Sub GetCurrentLocation (thread As DkmThread, workList As DkmWorkList, completionRoutine As DkmCompletionRoutine(Of DkmGetCurrentLocationAsyncResult))

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

completionRoutine
DkmCompletionRoutine<DkmGetCurrentLocationAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to