IDkmGPUComputeKernelOperation.GetThreadFromId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DkmGPUComputeThread object for a given thread ID.
public:
void GetThreadFromId(Microsoft::VisualStudio::Debugger::GPU::DkmGPUComputeKernel ^ computeKernel, System::UInt64 threadId, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::GPU::DkmGPUComputeThread ^ % thread);
public void GetThreadFromId (Microsoft.VisualStudio.Debugger.GPU.DkmGPUComputeKernel computeKernel, ulong threadId, out Microsoft.VisualStudio.Debugger.GPU.DkmGPUComputeThread thread);
abstract member GetThreadFromId : Microsoft.VisualStudio.Debugger.GPU.DkmGPUComputeKernel * uint64 * DkmGPUComputeThread -> unit
Public Sub GetThreadFromId (computeKernel As DkmGPUComputeKernel, threadId As ULong, ByRef thread As DkmGPUComputeThread)
Parameters
- computeKernel
- DkmGPUComputeKernel
[In] DkmGPUComputeKernel represents a GPU compute kernel running in the target process.
- threadId
- UInt64
[In] ID of the thread to return.
- thread
- DkmGPUComputeThread
[Out] Thread object that matches the given thread ID.