共用方式為


XblPresenceStopTrackingUsers

Configures the list of users for whom real-time device and title presence updates will be tracked. Presence updates for the specified Users will no longer be received.

Syntax

HRESULT XblPresenceStopTrackingUsers(  
         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 remove from the list of tracked Users.

xuidsCount   _In_
Type: size_t

Length of xuids array.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: presence_c.h

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

See also

presence_c