IPixCaptureFileConverter::GetGpuCaptureFileFormat method

Classifies a GPU capture file on the local file system.

Syntax

PIX_GPU_CAPTURE_FILE_FORMAT GetGpuCaptureFileFormat(
    LPCWSTR filePath);

Parameters

filePath [in]

Local path of the capture file to inspect. May be null or empty; null/empty/missing paths all return PIX_GPU_CAPTURE_FILE_FORMAT_NO_FILE. Files that exist but are not a recognized PIX capture - and any infrastructure-level failure while attempting the inspection - return PIX_GPU_CAPTURE_FILE_FORMAT_INVALID_OR_CORRUPT.

Returns

The file's format classification.

See also