netapi32: Add a stub for NetUserChangePassword.
This commit is contained in:
parent
47e6fb4d29
commit
3d02585449
|
@ -701,3 +701,25 @@ NET_API_STATUS WINAPI NetUserModalsGet(
|
|||
|
||||
return NERR_Success;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* NetUserChangePassword (NETAPI32.@)
|
||||
* PARAMS
|
||||
* domainname [I] Optional. Domain on which the user resides or the logon
|
||||
* domain of the current user if NULL.
|
||||
* username [I] Optional. Username to change the password for or the name
|
||||
* of the current user if NULL.
|
||||
* oldpassword [I] The user's current password.
|
||||
* newpassword [I] The password that the user will be changed to using.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: NERR_Success.
|
||||
* Failure: NERR_* failure code or win error code.
|
||||
*
|
||||
*/
|
||||
NET_API_STATUS WINAPI NetUserChangePassword(LPCWSTR domainname, LPCWSTR username,
|
||||
LPCWSTR oldpassword, LPCWSTR newpassword)
|
||||
{
|
||||
FIXME("(%s, %s, ..., ...)\n", debugstr_w(domainname), debugstr_w(username));
|
||||
return NERR_InternalError;
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@
|
|||
@ stub NetUseEnum
|
||||
@ stub NetUseGetInfo
|
||||
@ stdcall NetUserAdd(wstr long ptr ptr)
|
||||
@ stub NetUserChangePassword
|
||||
@ stdcall NetUserChangePassword(wstr wstr wstr wstr)
|
||||
@ stdcall NetUserDel(wstr wstr)
|
||||
@ stdcall NetUserEnum(wstr long long ptr long ptr ptr ptr)
|
||||
@ stub NetUserGetGroups
|
||||
|
|
Loading…
Reference in New Issue