Commit 3d025854 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

netapi32: Add a stub for NetUserChangePassword.

parent 47e6fb4d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment