#include <dwc.h>BOOL DWC_LoadOthersDataAsync(char *keys,
int index,
void *param);| keys | Pointer to the key string for the data to load. |
| index | The user's friend roster index to be load. |
| param | Callback parameter. |
| TRUE | Starting load. |
| FALSE | Cannot load because the system is offline, the partner is not a friend, or an error is being generated. |
Loads the data that was saved by someone else with the DWC_SavePublicDataAsync function from the data storage server. Be aware that it is possible to load data even if a friend relationship has not been established. (The friend information data type is a friend registry key.)
The data for loading is specified in keys. It must be a NULL-terminated character string. keys is written using "\" as a delimiter, as in "\name\stage". This allows multiple keys to be loaded at once, as in the example just cited. Once data loading is complete, the load completion notification callback specified by DWC_SetStorageServerCallback is called.
When trying to load non-existent keys or only keys saved by a friend with the DWC_SavePrivateDataAsync function, the callback argument success becomes FALSE. However, if only some of the specified keys fall into this category, they will not be included in the load data, and the success argument will be TRUE.
The callback might not be called if, during loading, a disconnect occurs in an upper circuit on the router. Be sure to set up a timeout within the application or use an interface that allows the user to cancel.
Call the LogoutFromStorageServer function to cancel.
CONFIDENTIAL