Skip to main content
Sets the storage event handlers. If custom storage handlers are not set, a default implementation based on cstdio and std::fstream objects will be used.

Syntax

Parameters

hooks   PFLocalStorageHooks* Custom local storage hooks to be used by the SDK.

Return value

Type: HRESULT Result code for this API operation.

Remarks

Must be called before PFInitialize.

Requirements

Header: PFPlatform.h

See also

PFPlatform members
Last modified on August 1, 2026