DWC_SetStorageServerCallback

Syntax


#include <dwc.h>

BOOL DWC_SetStorageServerCallback( DWCSaveToServerCallback saveCallback,
                                   DWCLoadFromServerCallback loadCallback);

				

Description

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

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 Configuration failed because the FriendsMatch Library was not running.

See Also

DWC_SavePublicDataAsync
DWC_SavePrivateDataAsync
DWC_LoadOwnDataAsync
DWC_LoadOthersDataAsync
DWCSaveToServerCallback
DWCLoadFromServerCallback

Revision History

2006/01/18 Added support for the change of the return value to a BOOL.
2005/07/22 Initial version.


CONFIDENTIAL