Partager via


XblPresenceTrackUsers

Configures the list of users for whom real-time device and title presence updates will be tracked.

Syntax

HRESULT XblPresenceTrackUsers(  
         XblContextHandle xblContextHandle,  
         const uint64_t* xuids,  
         size_t xuidsCount  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

xuids   _In_
Type: uint64_t*

Array of XboxUserIDs to append to the existing list of tracked Users.

xuidsCount   _In_
Type: size_t

Length of xuids array.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Updates will be delivered via XblPresenceDevicePresenceChangedHandlers and XblPresenceTitlePresenceChangedHandlers. Note that the set of tracked users can be updated independent from the handlers.

Requirements

Header: presence_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

presence_c