XblMultiplayerGetActivitiesWithPropertiesForUsersResult

Gets the result of a call to XblMultiplayerGetActivitiesWithPropertiesForUsersAsync.

Syntax

HRESULT XblMultiplayerGetActivitiesWithPropertiesForUsersResult(  
         XAsyncBlock* async,  
         size_t bufferSize,  
         void* buffer,  
         XblMultiplayerActivityDetails** ptrToBuffer,  
         size_t* ptrToBufferCount,  
         size_t* bufferUsed  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The XAsyncBlock for this operation.

bufferSize   _In_
Type: size_t

The size of the provided buffer.

buffer   _Out_writes_bytes_to_(bufferSize,bufferUsed)
Type: void

A caller-allocated byte buffer to write results into.

ptrToBuffer   _Outptr_
Type: XblMultiplayerActivityDetails**

Strongly typed pointer to buffer. Do not free; its lifecycle is tied to buffer.

ptrToBufferCount   _Out_
Type: size_t*

Number of entries in buffer.

bufferUsed   _Out_opt_
Type: size_t*

Number of bytes actually written to buffer.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c