#include <dwc.h>BOOL DWC_CheckUserData(const DWCUserData *userdata);| userdata | Pointer to the DWCUserData structure where the user data is stored. |
| TRUE | Valid. |
| FALSE | Invalid. |
Uses the CRC value included in the data to check the validity of user data. Use this to confirm that saved user data is loaded into memory.
Before saving user data, always use the DWC_ClearDirtyFlag function to clear the dirty flag and recalculate the CRC value included in the data. Also, note that if DWC_ClearDirtyFlag is called before this function after saved user data has been loaded into memory, this function will lose its original meaning.
DWC_ClearDirtyFlag function.CONFIDENTIAL