Retrieves the type of captures in progress, as a set of flags.
DWORD PIXGetCaptureState()
Type: DWORDÂ
Capture state flags. If no capture state flags are set, zero is returned, which indicates that PIX has no captures in progress.
| Flag | Value | Description |
|---|---|---|
| PIX_CAPTURE_TIMING | (1 << 0) | System timing. |
| PIX_CAPTURE_GPU | (1 << 1) | GPU frames. |
| PIX_CAPTURE_FUNCTION_SUMMARY | (1 << 2) | A function summary capture was initiated from the Home tab. |
| PIX_CAPTURE_FUNCTION_DETAILS | (1 << 3) | A request for additional function details was initiated using the Capture Additional Calls button from either a function summary or callgraph capture. |
| PIX_CAPTURE_CALLGRAPH | (1 << 4) | A callgraph capture was initiated either from PIX or programmatically by calling PIXBeginCapture. |
| PIX_CAPTURE_INSTRUCTION_TRACE | (1 << 5) | A CPU instruction trace capture is in progress. |
| PIX_CAPTURE_SYSTEM_MONITOR_COUNTERS | (1 << 6) | System monitor counters. |
| PIX_CAPTURE_VIDEO | (1 << 7) | Video playback. |
| PIX_CAPTURE_AUDIO | (1 << 8) | Audio playback. |
Header: Declared in pix.h.
Library: Use PIXEvt.lib.