Edit

PFInitialize

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Initialize PlayFabCore global state. Custom platform hooks must be configured prior to calling PFInitialize.

Syntax

HRESULT PFInitialize(  
    XTaskQueueHandle backgroundQueue  
)  

Parameters

backgroundQueue   XTaskQueueHandle
optional

An XTaskQueue that should be used for background work. If no queue is provided then a default (threadpool) queue will be used.

Return value

Type: HRESULT

Result code for this API operation.

Requirements

Header: PFCore.h

See also

PFCore members