Skip to main content

XAppCaptureGetVideoCaptureSettings

Queries the device’s GameDVR settings that include encoding type, color format, resolution, maximum possible recording length, and whether the current user allows captures by games.

Syntax

Parameters

userCaptureSettings _Out_
Type: XAppCaptureVideoCaptureSettings *
On function return contains the device’s GameDVR setting for capture resolution.

Return value

Type: HRESULT Function result.

Remarks

The values returned by XAppCaptureGetVideoCaptureSettings can be changed by the user at any moment. Therefore, it is recommended that XAppCaptureGetVideoCaptureSettings is called right before calling XAppCaptureRecordTimespan in order to ensure the latest values are retrieved. The XAppCaptureVideoCaptureSettings struct can be obtained like so.

Requirements

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

See also

XAppCapture members
Last modified on August 20, 2026