DWC_CheckDirtyFlag

Syntax

#include <dwc.h>

BOOL DWC_CheckDirtyFlag(const DWCUserData *userdata);

Arguments

userdata Pointer to the DWCUserData structure where the user data is stored.

Return Values

TRUE The dirty flag is set (user data has been changed).)
FALSE The dirty flag is not set (user data remains unchanged).)

Description

This function checks the dirty flag that is set in the DWCUserData structure when user data has been changed. The dirty flag may be updated only when the login completion callback is called after the DWC_LoginAsync function has been called.

Even when the login completion callback is not called, have the application check this flag every time the game data is saved. If the dirty flag is set, have the application save the user data.

Before saving, always call the DWC_ClearDirtyFlag function and clear the dirty flag.

Revision History


CONFIDENTIAL