Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Take a GPU Capture.
Syntax
HRESULT TakeGpuCapture(
const PIX_GPU_CAPTURE_DESC * gpuCaptureDescription,
IPixAsyncOperation ** asyncOperation);
Parameters
gpuCaptureDescription [in]
GPU capture parameters.
asyncOperation [out]
Optional. Receives an IPixAsyncOperation with a result of type IPixGpuCaptureResult.
Returns
S_OK on success, otherwise an error code.
Remarks
The result can be obtained through the IPixAsyncOperation parameter (call GetResult to wait for completion) or by handling IPixConnectionNotifications::NewGpuCaptureCompleted.