DWC_CreateUserData

Syntax

#include <dwc.h> 
void DWC_CreateUserData(DWCUserData *userdata); 

Arguments

userdata Pointer to the DWCUserData structure in which the generated user data is stored.

Return Values

None.

Description

Generates user data for each game player. Save this user data on the DS card in the backup memory. Data is generated with the dirty flag enabled; therefore, clear the dirty flag using the DWC_ClearDirtyFlag function before saving.

Note: Starting with NITRO-DWC 3.0, a different method is employed to generate the value used to check the validity of friend registration keys. Because of this change, the friend registration keys created with older versions of NITRO-DWC are no longer compatible.

See Also

DWC_InitFriendsMatch DWC_CheckDirtyFlag DWC_ClearDirtyFlag DWC_CheckFriendKey DWC_CreateFriendKey DWC_CreateExchangeToken

Revision History

5.3
Deleted Description because the specification was changed to specify the gamecode argument in the DWC_InitForDevelopment and DWC_InitForProduction functions.

For the change log prior to 5.1 PR2, click here.   


CONFIDENTIAL