XblMultiplayerActivityGetActivityResultSize

Gets the buffer size needed to store the results of a get activity call.

Syntax

HRESULT XblMultiplayerActivityGetActivityResultSize(  
         XAsyncBlock* async,  
         size_t* resultSizeInBytes  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The XAsyncBlock for this operation.

resultSizeInBytes   _Out_
Type: size_t*

The size in bytes for the result buffer.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

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.

Requirements

Header: multiplayer_activity_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_activity_c
XblMultiplayerActivityGetActivityAsync
XblMultiplayerActivityGetActivityResult