Skip to main content
Initializes PlayFabCore global state. Custom platform hooks must be configured prior to calling PFInitialize.

Syntax

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. javaVm   JavaVM* TBD applicationContext   jobject TBD

Return value

Type: HRESULT Result code for this API operation.

Remarks

This will internally call PFInitialize(nullptr) if it hasn’t been called already by the title. If control of PFCore background work is needed, the title should explicitly call PFInitialize and PFUninitialize.

Requirements

Header: PFCore.h

See also

PFCore members
Last modified on August 3, 2026