DWCLoadFromServerCallback

Syntax

#include <dwc.h>

typedef void(*) DWCLoadFromServerCallback(BOOL success,
             int index,
             char *data,
             int len,
             void *param);

Arguments

success TRUE: Load succeeded.
FALSE: Load failed.
index Friend roster index of the party whose data to load. Value is -1 if it is the self, or if the party ceases to be a friend before loading completes.
data Loaded data (key/value character string pair).
len Load data length
param Callback parameter.

Return Values

None.

Description

success=FALSE also results if the key specified by the load function does not exist or if an attempt was made to read a key saved by another player using the DWC_SavePrivateDataAsync function.

Do not call DWC_LogoutFromStorageServer from inside a callback.

See Also

DWC_SetStorageServerCallback

Revision History

1.4.0
Added the text concerning the DWC_LogoutFromStorageServer function.

CONFIDENTIAL