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

# XAppCaptureEnableRecord

> XAppCaptureEnableRecord

# XAppCaptureEnableRecord

Enables the xbox recording function which allows the user to take screenshot,record or broadcast the game via guide.

## Syntax

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

### Parameters

### Return value

Type: HRESULT

Function result.

## Remarks

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

This function can be used to enable the inbuilt xbox recording/screenshot/broadcast functionality. If the functionality is enabled the user can take screenshot,record or broadcast the game using guide. I.e Press Home Button -> Take Screenshot/Recording.

The functionality is enabled by default. To disable the functionality the game can call [XAppCaptureDisableRecord](/reference/system/xappcapture/functions/xappcapturedisablerecord)

## 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

[XAppCaptureDisableRecord](/reference/system/xappcapture/functions/xappcapturedisablerecord)


## Related topics

- [XAppCaptureDisableRecord](/reference/system/xappcapture/functions/xappcapturedisablerecord.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [Unity C# API wrappers for the GDK](/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XAppCaptureRecordDiagnosticClip](/reference/system/xappcapture/functions/xappcapturerecorddiagnosticclip.md)
- [XAppCaptureRecordTimespan](/reference/system/xappcapture/functions/xappcapturerecordtimespan.md)
