Compartir a través de


XblPresenceTrackAdditionalTitles

Configures the list of titles for which real-time title presence will be tracked. To receive title presence updates for titles other than the current title, they must be added using this API.

Syntax

HRESULT XblPresenceTrackAdditionalTitles(  
         XblContextHandle xblContextHandle,  
         const uint32_t* titleIds,  
         size_t titleIdsCount  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

titleIds   _In_
Type: uint32_t*

Array of title IDs to append to the existing list of tracked titles. Note that the current title will be tracked by default.

titleIdsCount   _In_
Type: size_t

Length of the titleIds array.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

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

Requirements

Header: presence_c.h

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

See also

presence_c