Skip to main content

XAppCaptureCloseLocalStream

Closes and deletes the specified recording stream.

Syntax

Parameters

handle _In_
Type: XAppCaptureLocalStreamHandle
Handle to the recording stream to close.

Return value

Type: HRESULT Function result.

Remarks

Only two recordings are allowed at any given time, and once two recordings are created any further recording will return a failure until XAppCaptureCloseLocalStream is called on one of the streams.

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