IPixGpuCaptureDocument::GetCapturedScreenshot method

Get the captured screenshot for this capture. Returns HRESULT_FROM_WIN32(ERROR_NOT_FOUND) if no screenshot is available.

Syntax

HRESULT GetCapturedScreenshot(
    REFIID riid,
    void ** screenshot);

Parameters

riid [in]

The interface IID of the screenshot to be returned. Expected: IPixCapturedScreenshot.

screenshot [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also