共用方式為


XblPresenceGetPresenceResult

Get result for an XblPresenceGetPresenceAsync call.

Syntax

HRESULT XblPresenceGetPresenceResult(  
         XAsyncBlock* async,  
         XblPresenceRecordHandle* presenceRecordHandle  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

presenceRecordHandle   _Out_
Type: XblPresenceRecordHandle*

Returned handle to a presence record. The associated presence record must be released with XblPresenceRecordCloseHandle when it is no longer needed.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: presence_c.h

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

See also

presence_c