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

# XAppBroadcastShowUI

> XAppBroadcastShowUI

Show broadcast UI to app user so that they may start broadcasting activity.

## Syntax

```cpp theme={null}
HRESULT XAppBroadcastShowUI(  
         XUserHandle requestingUser  
)  
```

### Parameters

*requestingUser*   \_In\_\
Type: XUserHandle

The user that the broadcast UI will appear for.

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

This function does not start a broadcast on its own, it merely shows the User the UI that they would need to navigate in order to begin a broadcast.\
You can verify that a broadcast was started by the occurrence of a broadcast status change event or by checking the broadcast status with [XAppBroadcastIsAppBroadcasting](https://docs.xbox.com/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting.md). Before calling this function you should also call [XAppBroadcastGetStatus](https://docs.xbox.com/reference/system/xappcapture/functions/xappbroadcastgetstatus.md) to check whether or not a user is capable of starting a broadcast.

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

[GameDVR Overview](https://docs.xbox.com/build/console-features/game-dvr/gamedvr-broadcast.md)\
[XAppCapture Members](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)\
[XAppBroadcastIsAppBroadcasting](https://docs.xbox.com/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting.md)\
[XAppBroadcastGetStatus](https://docs.xbox.com/reference/system/xappcapture/functions/xappbroadcastgetstatus.md)


## Related topics

- [XAppBroadcastIsAppBroadcasting](https://docs.xbox.com/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting.md)
- [XAppBroadcastGetStatus](https://docs.xbox.com/reference/system/xappcapture/functions/xappbroadcastgetstatus.md)
- [Game DVR and broadcasting](https://docs.xbox.com/build/console-features/game-dvr/gamedvr-broadcast.md)
- [XAppCapture (API contents)](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)
- [Using C# wrappers for GDK APIs in your Unity project](https://docs.xbox.com/build/gdk-and-engines/unity/unity-api-wrappers.md)
