XUserLocalId
Specifies a game session ID for a user.Syntax
Members
valueType: uint64_t The game session ID for a user.
Remarks
The XUserLocalId uniquely identifies a user within a gaming session. If we duplicate XUserHandle, both handles maintain the same XUserLocalId. Once a gaming session ends, the same user can have a different XUserLocalIds in the next session. You cannot use these IDs to track users across gaming sessions. The IDs are valid per gaming session. A “null” XUserLocalId will be equal to the value of XUserNullUserLocalId. The following callback functions and function take an XUserLocalId structure or a pointer to one as an argument:- XUserChangeEventCallback: A callback function for a user change event.
- XUserDefaultAudioEndpointUtf16ChangedCallback: A callback that invokes when the default audio endpoint for a user changes.
- XUserFindUserByLocalId: A function that uses a specific local ID to retrieve a handle to a user.
- XUserGetDefaultAudioEndpointUtf16: A function that retrieves the default audio endpoint for a specific user.
- XUserGetLocalId: A function that retrieves the unique game session ID for a user.
