DWC_CheckUserData

C Specification

#include <dwc.h>

BOOL DWC_CheckUserData( const DWCUserData* userdata );

Description

Checks if the user data specified by userdata is valid. Checks the validity using the CRC included within the user data. Use this to check when saved user data is loaded into memory.

Be aware that when saving user data, if the Dirty flag is not cleared with the DWC_ClearDirtyFlag function, the data may be judged as invalid.

Arguments

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

Return Values

TRUE Valid
FALSE Invalid

See Also

DWC_CreateUserData, DWC_ClearDirtyFlag

Revision History

08/02/2006 Added a check-related caution
12/16/2005 Revised the argument description
10/20/2005 Initial version


CONFIDENTIAL