Page 233 - PDA Robotics Using Your Personal Digital Assistant to Control Your Robot
P. 233
PDA 10 5/27/03 8:51 AM Page 209
Chapter 10 / The PDA Robotics Command Center
strlen(pszPassword)+1, szPassWord,
sizeof(szPassWord)/sizeof(szPassWord[0]) );
//
// Determine if the password is correct by changing it
// to the same.
//
int nStatus= NetUserChangePassword(NULL,
szUserName,
szPassWord,
szPassWord);
if (nStatus == NERR_Success){
return TRUE;
}else{
return FALSE;
}
}
Please visit www.pda-robotics.com to download this program.
209