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

# XGameStreamingClientPropertiesChangedCallback

> XGameStreamingClientPropertiesChangedCallback

# XGameStreamingClientPropertiesChangedCallback

A callback function which is invoked whenever properties of a connected streaming client device change.  The callback is also invoked for all connected devices upon first registration.

## Syntax

```cpp theme={null}
void XGameStreamingClientPropertiesChangedCallback(  
         void* context,  
         XGameStreamingClientId client,  
         uint32_t updatedPropertiesCount,  
         XGameStreamingClientProperty* updatedProperties  
)
```

### Parameters

*context*   \_In\_\
Type: void\*

A pointer to the context provided at event registration time.

*client*   \_In\_\
Type: XGameStreamingClientId

The client which has changed properties.

*updatedPropertiesCount*   \_In\_\
Type: uint32\_t

The number of properties which have changed on the client.

*updatedProperties*   \_In\_reads\_(updatedPropertiesCount)\
Type: [XGameStreamingClientProperty\*](/reference/system/xgamestreaming/enums/xgamestreamingclientproperty)

A pointer to the identifiers of the changed client properties.

### Return value

Type: void

## Remarks

The `XGameStreamingClientPropertiesChangedCallback`  is invoked whenever one or more properties of the streaming client device have changed.  Upon  connection of the device, the callback is invoked for each of the properties that are applicable to that device.

Upon initial registering of the callback function via  [XGameStreamingRegisterClientPropertiesChanged](/reference/system/xgamestreaming/functions/xgamestreamingregisterclientpropertieschanged) the callback will be invoked for each of the properties that are applicable to that device.

To unregister the callback function use [XGameStreamingUnregisterClientPropertiesChanged](/reference/system/xgamestreaming/functions/xgamestreamingunregisterclientpropertieschanged).

## Requirements

**Header:** xgamestreaming.h

**Library:** xgameruntime.lib

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

## See also

[XGameStreamingClientProperty](/reference/system/xgamestreaming/enums/xgamestreamingclientproperty)\
[XGameStreamingRegisterClientPropertiesChanged](/reference/system/xgamestreaming/functions/xgamestreamingregisterclientpropertieschanged)\
[XGameStreamingUnregisterClientPropertiesChanged](/reference/system/xgamestreaming/functions/xgamestreamingunregisterclientpropertieschanged)\
[XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members)


## Related topics

- [XGameStreamingUnregisterClientPropertiesChanged](/reference/system/xgamestreaming/functions/xgamestreamingunregisterclientpropertieschanged.md)
- [XGameStreamingRegisterClientPropertiesChanged](/reference/system/xgamestreaming/functions/xgamestreamingregisterclientpropertieschanged.md)
- [XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members.md)
- [XGameStreamingIsTouchInputEnabled](/reference/system/xgamestreaming/functions/xgamestreamingistouchinputenabled.md)
- [XGameStreamingClientProperty](/reference/system/xgamestreaming/enums/xgamestreamingclientproperty.md)
