#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. |
Checks the validity of user data, using the CRC value included in the user data. Use this after loading saved user data into memory.
Before saving user data, always clear the dirty flag using the DWC_ClearDirtyFlag function and recalculate the CRC value included in user data.
Note: In addition, be aware that if you call the DWC_ClearDirtyFlag function after loading saved user data into memory and before calling this function, the dirty flag loses its original meaning.
DWC_CreateUserData
DWC_ClearDirtyFlag
For the change log prior to 5.1 PR2, click here.
CONFIDENTIAL