DWC_LoginToStorageServerAsync

Syntax

#include <dwc.h>

BOOL DWC_LoginToStorageServerAsync(DWCStorageLoginCallback callback,
                                   void *param);

Arguments

callback Pointer to the login completion notification callback function.
param Callback parameter.

Return Values

TRUE Starting the login process was successful.
FALSE Starting the login process was not successful. Note that no callback is called.

Description

Log in to the data storage server. Log in using this function before calling any of the following storage server access functions: DWC_LoadOthersDataAsync, DWC_LoadOwnPrivateDataAsync, DWC_SavePublicDataAsync, and DWC_SavePrivateDataAsync.

If the DWC_ProcessFriendsMatch function is called repeatedly after this function is called, the login process proceeds. Once the login process is complete, the completion callback is called.

After data access finishes, logout using the DWC_LogoutFromStorageServer function. Logout is executed automatically if the DWC_ShutdownFriendsMatch function is called.

Revision History


CONFIDENTIAL