XblMultiplayerActivityGetActivityResult
Gets the results for a successful get activity call.Syntax
Parameters
async _In_Type: XAsyncBlock* The
XAsyncBlock for this operation.
bufferSize _In_Type: size_t The size of the result buffer. Use XblMultiplayerActivityGetActivityResultSize to get the required buffer size. buffer _Out_writes_bytes_to_(bufferSize,bufferUsed)
Type: void A caller-allocated byte buffer that receives the result. ptrToBufferResults _Outptr_
Type: XblMultiplayerActivityInfo** Strongly typed array of XblMultiplayerActivityInfo that points into
buffer. Do not free this array. Its lifecycle is tied to buffer.
resultCount _Out_Type: size_t* The number of entries in the
ptrToBufferResults array.
bufferUsed _Out_opt_Type: size_t* The number of bytes in
buffer that were used.
Return value
Type: HRESULT HRESULT return code for this API operation.Remarks
To get the size of the buffer that you need to store the results, call the XblMultiplayerActivityGetActivityResultSize function.To see how this function is used, see “Getting activities” in the Activities section of Example code for Multiplayer Activity.
For more information about multiplayer activities, see Activities.
