IPixConnectionDocument::TakeGpuCapture メソッド

GPU Captureを取得します。

構文

HRESULT TakeGpuCapture(
    const PIX_GPU_CAPTURE_DESC * gpuCaptureDescription,
    IPixAsyncOperation ** asyncOperation);

パラメーター

gpuCaptureDescription [in]

GPU キャプチャ パラメーター。

asyncOperation [out]

省略可能です。 IPixGpuCaptureResult 型の結果を持つ IPixAsyncOperation を受け取ります。

戻り値

成功した場合はS_OK、それ以外の場合はエラー コード。

解説

結果は、 IPixAsyncOperation パラメーター (GetResult を呼び出して完了を待機する) を使用するか、 IPixConnectionNotifications::NewGpuCaptureCompleted を処理することによって取得できます。

関連項目