Skip to main content

XAppCaptureStopUserRecord

Stop an ongoing user recording started via XAppCaptureStartUserRecord and specified by the inputted ID. Users will receive a toast to indicate a recording has been saved and the recording will be accessible by the user. Windows support for this API will be added in a future release.

Syntax

Parameters

localId _In_
Type: const char*
Handle representing the user requesting the recording. result _Out_
Type: XAppCaptureUserRecordingResult*
On successful function completion, contains information for the recorded clip.

Return value

Type: HRESULT Function result. See XAppCapture Error Codes for non-S_OK return values.

Remarks

Assumes localIdOfUserRecording holds a local ID returned from XAppCaptureStartUserRecord.
If this API is not called before the recording hits its maximum time limit, the recording will be stopped and deleted (not saved). Calling this API to stop the recording after the time limit has passed will return an error code.

Requirements

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

See also

XAppCapture members
Last modified on August 20, 2026