netapi32: Implement NetUserGetGroups stub.
This commit is contained in:
parent
7223d8b6d2
commit
a61044b675
|
@ -205,7 +205,7 @@
|
|||
@ stdcall NetUserChangePassword(wstr wstr wstr wstr)
|
||||
@ stdcall NetUserDel(wstr wstr)
|
||||
@ stdcall NetUserEnum(wstr long long ptr long ptr ptr ptr)
|
||||
@ stub NetUserGetGroups
|
||||
@ stdcall NetUserGetGroups(wstr wstr long ptr long ptr ptr)
|
||||
@ stdcall NetUserGetInfo(wstr wstr long ptr)
|
||||
@ stdcall NetUserGetLocalGroups(wstr wstr long long ptr long ptr ptr)
|
||||
@ stdcall NetUserModalsGet(wstr long ptr)
|
||||
|
|
|
@ -591,3 +591,26 @@ NET_API_STATUS NET_API_FUNCTION NetGetJoinInformation(
|
|||
|
||||
return NERR_Success;
|
||||
}
|
||||
|
||||
/************************************************************
|
||||
* NetUserGetGroups (NETAPI32.@)
|
||||
*/
|
||||
NET_API_STATUS NET_API_FUNCTION NetUserGetGroups(
|
||||
LPCWSTR servername,
|
||||
LPCWSTR username,
|
||||
DWORD level,
|
||||
LPBYTE *bufptr,
|
||||
DWORD prefixmaxlen,
|
||||
LPDWORD entriesread,
|
||||
LPDWORD totalentries)
|
||||
{
|
||||
FIXME("%s %s %d %p %d %p %p stub\n", debugstr_w(servername),
|
||||
debugstr_w(username), level, bufptr, prefixmaxlen, entriesread,
|
||||
totalentries);
|
||||
|
||||
*bufptr = NULL;
|
||||
*entriesread = 0;
|
||||
*totalentries = 0;
|
||||
|
||||
return ERROR_INVALID_LEVEL;
|
||||
}
|
||||
|
|
|
@ -467,6 +467,7 @@ NET_API_STATUS WINAPI NetUserChangePassword(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
|||
NET_API_STATUS WINAPI NetUserDel(LPCWSTR,LPCWSTR);
|
||||
NET_API_STATUS WINAPI NetUserEnum(LPCWSTR,DWORD,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
|
||||
NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR,LPCWSTR,DWORD,LPBYTE*);
|
||||
NET_API_STATUS WINAPI NetUserGetGroups(LPCWSTR,LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD);
|
||||
NET_API_STATUS WINAPI NetUserGetLocalGroups(LPCWSTR,LPCWSTR,DWORD,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD);
|
||||
NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR,DWORD,LPBYTE*);
|
||||
|
||||
|
|
Loading…
Reference in New Issue