1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 8<title>DWC_ClearDirtyFlag</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__account_8h_139e8c6d2907d4ead951182b2a3e38713"></a> 14<h1 align="left">DWC_ClearDirtyFlag</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>void <a href=DWC_ClearDirtyFlag.html#dwc__account_8h_139e8c6d2907d4ead951182b2a3e38713>DWC_ClearDirtyFlag</a>(DWCUserData *userdata);</CODE></PRE></dd> 22</dl> 23 24<h2>Arguments</h2> 25 26<TABLE border="1" width="100%"> 27 <TBODY> 28 29 <TR> 30<TD width="13%"><EM><STRONG>userdata</STRONG></EM></TD> 31<TD width="87%">Pointer to the <CODE>DWCUserData</CODE> structure where the user data is stored.</TD> 32 </TR> 33 34 </TBODY> 35</TABLE> 36 37<h2>Return Values</h2> 38 39<p>None.</p> 40 41<H2>Description</H2> 42<p>Clears the dirty flag for user data and recalculates the CRC value included in the data.</p><p>The dirty flag is found in the <CODE>DWCUserData</CODE> structure. It is set when user data is changed.</p><p>The CRC value is used by the <a href=DWC_CheckUserData.html#dwc__account_8h_177fba84090f85430e580a067eedb7ebb><CODE>DWC_CheckUserData</CODE></a> function, which checks the validity of saved user data when the data is loaded into memory.</p> 43 44<H2>Revision History</H2> 45<DL> 46 47<DT><para>1.4.20</DT> 48<DD>Mentioned that the CRC value included in user data will be recalculated.</DD> 49 50</DL> 51<hr><p>CONFIDENTIAL</p></body> 52</html> 53