XAppCaptureDisableRecord

Disables video recording for the player.

Syntax

HRESULT XAppCaptureDisableRecord(
)  

Parameters

This function takes no parameters.

Return value

Type: HRESULT

Returns S_OK when successful.

Remarks

When you disable recording, the player can no longer record videos, take screen shots, or broadcast the game by selecting Home > Take Screenshot Recording.

To enable recording, call XAppCaptureEnableRecord.

Recording functionality is enabled by default.

NOTE : This api call will be ignored while XBOM Remote view is active. Once XBOM remote view is turned off the api will take effect and recording functions will be disabled.

Note

This function isn't safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.

Requirements

Header: XAppCapture.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XAppCaptureEnableRecord