Compartilhar via


XGameUiShowPlayerProfileCardResult

Gets the result of a call to XGameUiShowPlayerProfileCardAsync.

Syntax

HRESULT XGameUiShowPlayerProfileCardResult(  
         XAsyncBlock* async  
)  

Parameters

async   _In_
Type: XAsyncBlock*

A pointer to the XAsyncBlock object that was passed to XGameUiShowPlayerProfileCardAsync.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

Typically, you specify this function in XAsyncBlock as the callback function for XGameUiShowPlayerProfileCardAsync.

You can also retrieve the result by calling this function after XGameUiShowPlayerProfileCardAsync completes.

Requirements

Header: XGameUI.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameUI