XblPresenceGetPresenceAsync

Gets presence info for a specific Xbox User Id.

Syntax

HRESULT XblPresenceGetPresenceAsync(  
         XblContextHandle xblContextHandle,  
         uint64_t xuid,  
         XAsyncBlock* async  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

xuid   _In_
Type: uint64_t

The Xbox User ID of the user to get presence for.

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

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