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

# XAppCaptureDisableRecord

> XAppCaptureDisableRecord

Disables video recording for the player.

## Syntax

```cpp theme={null}
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](https://docs.xbox.com/reference/system/xappcapture/functions/xappcaptureenablerecord.md).

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).

## Requirements

**Header:** XAppCapture.h

**Library:** xgameruntime.lib

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

## Conceptual documentation

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

## See also

[XAppCaptureEnableRecord](https://docs.xbox.com/reference/system/xappcapture/functions/xappcaptureenablerecord.md)


## Related topics

- [XAppCaptureEnableRecord](https://docs.xbox.com/reference/system/xappcapture/functions/xappcaptureenablerecord.md)
- [XAppCapture (API contents)](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureRecordTimespan](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturerecordtimespan.md)
- [XAppCaptureCancelUserRecord](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturecanceluserrecord.md)
- [XAppCaptureRecordClipResult](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturerecordclipresult.md)
