Modifica

PFAuthenticationLoginWithBattleNetAsync

Sign in the user with a Battle.net identity token

Syntax

HRESULT PFAuthenticationLoginWithBattleNetAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const PFAuthenticationLoginWithBattleNetRequest* request,  
    XAsyncBlock* async  
)  

Parameters

serviceConfigHandle   PFServiceConfigHandle

PFServiceConfigHandle returned from PFServiceConfigCreateHandle call.

request   PFAuthenticationLoginWithBattleNetRequest*

Populated request object.

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

This API is available on Windows. See also ClientLinkBattleNetAccountAsync, ClientUnlinkBattleNetAccountAsync. When the asynchronous task is complete, call PFAuthenticationLoginWithBattleNetGetResult to get the result.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members