XblSocialRelationshipResultGetTotalCount

Gets the total number of results for an XblSocialRelationshipResultHandle.

Syntax

HRESULT XblSocialRelationshipResultGetTotalCount(  
         XblSocialRelationshipResultHandle resultHandle,  
         size_t* totalCount  
)  

Parameters

resultHandle   _In_
Type: XblSocialRelationshipResultHandle

The XblSocialRelationshipResultHandle from XblSocialGetSocialRelationshipsResult.

totalCount   _Out_
Type: size_t*

Passes back the total number of results for the query.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Note that this is only the total number of results requested by XblSocialGetSocialRelationshipsAsync and may be different from the maximum number of result items.

Requirements

Header: social_c.h

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

See also

social_c