> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppCaptureDisableRecord

> XAppCaptureDisableRecord

# XAppCaptureDisableRecord

Disables video recording for the player.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT XAppCaptureDisableRecord(
)  
```

<a id="parametersSection" />

### Parameters

This function takes no parameters.

<a id="retvalSection" />

### Return value

Type: HRESULT

Returns `S_OK` when successful.

<a id="remarksSection" />

## 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](/reference/system/xappcapture/functions/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](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads).</Note>

<a id="requirementsSection" />

## Requirements

**Header:** XAppCapture.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## Conceptual documentation

* [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## See also

[XAppCaptureEnableRecord](/reference/system/xappcapture/functions/xappcaptureenablerecord)


## Related topics

- [XAppCaptureEnableRecord](/reference/system/xappcapture/functions/xappcaptureenablerecord.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureRecordTimespan](/reference/system/xappcapture/functions/xappcapturerecordtimespan.md)
- [XAppCaptureCancelUserRecord](/reference/system/xappcapture/functions/xappcapturecanceluserrecord.md)
- [XAppCaptureRecordDiagnosticClip](/reference/system/xappcapture/functions/xappcapturerecorddiagnosticclip.md)
