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.
Opens a GPU capture document.
Syntax
HRESULT OpenGpuCaptureDocument(
LPCWSTR filename,
IPixLogging * logger,
REFIID riid,
void ** document);
Parameters
filename [in]
The name of the file to open.
logger [in]
Logging callback for all logs related to the gpu capture document (optional).
riid [in]
The interface IID of the document to be returned. Expected: IPixGpuCaptureDocument.
document [out]
Pointer to the returned interface.
Returns
S_OK if the document was opened successfully, otherwise an error code.