Skip to main content

XblPresenceTrackUsers

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

Syntax

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
Last modified on August 20, 2026