发布于 2006-09-28 13:49:44
0楼
ODK中有这些函数的说明。
BOOL PWGENChangePassword (
LPCTSTR username,
LPCTSTR oldpassword,
LPCTSTR newpassword,
LPCMN_ERROR error )
Des cription
Using this function it is possible to change the password of the user specified by username.
Parameters
username: Login name of the user.
oldpassword: Old password of the user
newpassword: New password of the user
error: Pointer to the data of the extended error message within the CMN_ERROR structure. In the event of an error, the system writes error information to this structure.
Return Value
TRUE: Password changed
FALSE: Error
无论成与败,无论甜与苦,我还是我。