Partage via


XblSocialRelationshipResultGetNextResult

Get the result from an XblSocialRelationshipResultGetNextAsync API call.

Syntax

HRESULT XblSocialRelationshipResultGetNextResult(  
         XAsyncBlock* async,  
         XblSocialRelationshipResultHandle* handle  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The same AsyncBlock that passed to XblSocialRelationshipResultGetNextAsync.

handle   _Out_
Type: XblSocialRelationshipResultHandle*

Passes back a XblSocialRelationshipResultHandle.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

When no longer using the XblSocialRelationshipResultHandle, make sure to call XblSocialRelationshipResultCloseHandle. When all outstanding handles have been closed, the memory associated with the social relationship's results list will be freed. After calling this API, make sure to call XblSocialRelationshipResultGetRelationships to get the results list to iterate over. Then call XblSocialRelationshipResultHasNext to see if there are more results.

Requirements

Header: social_c.h

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

See also

social_c