PFPlatformLocalStorageSetHandlers

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

HRESULT PFPlatformLocalStorageSetHandlers(  
    PFLocalStorageHooks* hooks  
)  

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