Compartir a través de


XblMultiplayerGetActivitiesWithPropertiesForUsersAsync

Queries for the current activity for a set of players specified by Xbox user ID.

Syntax

HRESULT XblMultiplayerGetActivitiesWithPropertiesForUsersAsync(  
         XblContextHandle xblContext,  
         const char* scid,  
         const uint64_t* xuids,  
         size_t xuidsCount,  
         XAsyncBlock* async  
)  

Parameters

xblContext   _In_
Type: XblContextHandle

Xbox Live context for the local user.

scid   _In_
Type: char*

The service configuration identifier (SCID) within which to query for activities. The SCID is case-sensitive, so paste it directly from Partner Center.

xuids   _In_reads_(xuidsCount)
Type: uint64_t*

The list of Xbox user IDs to find activities for.

xuidsCount   _In_
Type: size_t

The size of the xuids array.

async   _In_
Type: XAsyncBlock*

The XAsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

No paging or continuation is available. The Multiplayer service limits the number of items returned to 100.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c