DWC_SetStorageServerCallback

Syntax

#include <dwc.h>
BOOL DWC_SetStorageServerCallback(DWCSaveToServerCallback saveCallback,
                                  DWCLoadFromServerCallback loadCallback);

Arguments

saveCallback Pointer to the save completion notification callback function.
loadCallback Pointer to the load completion notification callback function.

Return Values

TRUE Configuration of the callback function was successful.
FALSE The configuration failed because the FriendsMatch library was not running.

Description

Registers the callbacks to call when the saving of data to or the loading of data from the data storage server has completed.

Revision History

5.1 PR2
Replaced DWC_LoadOwnDataAsync with DWC_LoadOwnPrivateDataAsync in line with the deprecation of the DWC_LoadOwnDataAsync function.

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL