Skip to main content

XAppCaptureLocalResult

Contains the result from calling XAppCaptureRecordTimespan.

Syntax

Members

clipHandle
Type: XAppCaptureLocalStreamHandle
Handle to the local .mp4 file. The handle is used in XAppCaptureReadLocalStream and XAppCaptureCloseLocalStream.
Once a recording is made, XAppCaptureCloseLocalStream should always be called on the handle in order to free up system resources.
fileSizeInBytes
Type: size_t
Size of the recording in bytes. clipStartTimestamp
Type: SYSTEMTIME
The start time of the recording. durationInMilliseconds
Type: uint64_t
The actual duration of the recording in milliseconds. This may be different from the duration passed in XAppCaptureRecordTimespan. For example, the recording does not include any time when the game was not in foreground. width
Type: uint32_t
Width of the recording. height
Type: uint32_t
Height of the recording. encoding
Type: XAppCaptureVideoEncoding
The encoding format of the recording. colorFormat
Type: XAppCaptureVideoColorFormat
The color format of the recording.

Requirements

Header: XAppCapture.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XAppCapture members
Last modified on August 20, 2026