mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[NETAPI32]
- Add stubs for missing NetGroup functions. - Update header file. svn path=/trunk/; revision=59070
This commit is contained in:
parent
7f698415cf
commit
a4283325e7
3 changed files with 146 additions and 32 deletions
|
@ -22,12 +22,70 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
|
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
|
||||||
|
|
||||||
/*
|
|
||||||
@ stub NetGroupAdd
|
/************************************************************
|
||||||
@ stub NetGroupAddUser
|
* NetGroupAdd (NETAPI32.@)
|
||||||
@ stub NetGroupDel
|
*
|
||||||
@ stub NetGroupDelUser
|
*/
|
||||||
*/
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupAdd(IN LPCWSTR servername,
|
||||||
|
IN DWORD level,
|
||||||
|
IN LPBYTE buf,
|
||||||
|
OUT LPDWORD parm_err)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %d, %p, %p) stub!\n", debugstr_w(servername),
|
||||||
|
level, buf, parm_err);
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************************************************
|
||||||
|
* NetGroupAddUser (NETAPI32.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupAddUser(IN LPCWSTR servername,
|
||||||
|
IN LPCWSTR groupname,
|
||||||
|
IN LPCWSTR username)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s, %s) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname), debugstr_w(username));
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************************************************
|
||||||
|
* NetGroupDel (NETAPI32.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupDel(IN LPCWSTR servername,
|
||||||
|
IN LPCWSTR groupname)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname));
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************************************************
|
||||||
|
* NetGroupDelUser (NETAPI32.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupDelUser(IN LPCWSTR servername,
|
||||||
|
IN LPCWSTR groupname,
|
||||||
|
IN LPCWSTR username)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s, %s) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname), debugstr_w(username));
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
* NetGroupEnum (NETAPI32.@)
|
* NetGroupEnum (NETAPI32.@)
|
||||||
|
@ -35,36 +93,92 @@ WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
|
||||||
*/
|
*/
|
||||||
NET_API_STATUS
|
NET_API_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
NetGroupEnum(LPCWSTR servername,
|
NetGroupEnum(IN LPCWSTR servername,
|
||||||
DWORD level,
|
IN DWORD level,
|
||||||
LPBYTE *bufptr,
|
OUT LPBYTE *bufptr,
|
||||||
DWORD prefmaxlen,
|
IN DWORD prefmaxlen,
|
||||||
LPDWORD entriesread,
|
OUT LPDWORD entriesread,
|
||||||
LPDWORD totalentries,
|
OUT LPDWORD totalentries,
|
||||||
LPDWORD resume_handle)
|
IN OUT PDWORD_PTR resume_handle)
|
||||||
{
|
{
|
||||||
FIXME("(%s, %d, %p, %d, %p, %p, %p) stub!\n", debugstr_w(servername),
|
FIXME("(%s, %d, %p, %d, %p, %p, %p) stub!\n", debugstr_w(servername),
|
||||||
level, bufptr, prefmaxlen, entriesread, totalentries, resume_handle);
|
level, bufptr, prefmaxlen, entriesread, totalentries, resume_handle);
|
||||||
return ERROR_ACCESS_DENIED;
|
return ERROR_ACCESS_DENIED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
* NetGroupGetInfo (NETAPI32.@)
|
* NetGroupGetInfo (NETAPI32.@)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
NET_API_STATUS
|
NET_API_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
NetGroupGetInfo(LPCWSTR servername,
|
NetGroupGetInfo(IN LPCWSTR servername,
|
||||||
LPCWSTR groupname,
|
IN LPCWSTR groupname,
|
||||||
DWORD level,
|
IN DWORD level,
|
||||||
LPBYTE *bufptr)
|
OUT LPBYTE *bufptr)
|
||||||
{
|
{
|
||||||
FIXME("(%s, %s, %d, %p) stub!\n", debugstr_w(servername), debugstr_w(groupname), level, bufptr);
|
FIXME("(%s, %s, %d, %p) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname), level, bufptr);
|
||||||
return ERROR_ACCESS_DENIED;
|
return ERROR_ACCESS_DENIED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
@ stub NetGroupGetUsers
|
/************************************************************
|
||||||
@ stub NetGroupSetInfo
|
* NetGroupGetUsers (NETAPI32.@)
|
||||||
@ stub NetGroupSetUsers
|
*
|
||||||
*/
|
*/
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupGetUsers(IN LPCWSTR servername,
|
||||||
|
IN LPCWSTR groupname,
|
||||||
|
IN DWORD level,
|
||||||
|
OUT LPBYTE *bufptr,
|
||||||
|
IN DWORD prefmaxlen,
|
||||||
|
OUT LPDWORD entriesread,
|
||||||
|
OUT LPDWORD totalentries,
|
||||||
|
IN OUT PDWORD_PTR resume_handle)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s, %d, %p, %d, %p, %p, %p) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname), level, bufptr, prefmaxlen, entriesread,
|
||||||
|
totalentries, resume_handle);
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************************************************
|
||||||
|
* NetGroupSetInfo (NETAPI32.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupSetInfo(IN LPCWSTR servername,
|
||||||
|
IN LPCWSTR groupname,
|
||||||
|
IN DWORD level,
|
||||||
|
IN LPBYTE buf,
|
||||||
|
OUT LPDWORD parm_err)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s, %d, %p, %p) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname), level, buf, parm_err);
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************************************************
|
||||||
|
* NetGroupSetUsers (NETAPI32.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetGroupSetUsers(IN LPCWSTR servername,
|
||||||
|
IN LPCWSTR groupname,
|
||||||
|
IN DWORD level,
|
||||||
|
IN LPBYTE buf,
|
||||||
|
IN DWORD totalentries)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s, %d, %p, %d) stub!\n", debugstr_w(servername),
|
||||||
|
debugstr_w(groupname), level, buf, totalentries);
|
||||||
|
return ERROR_ACCESS_DENIED;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* EOF */
|
||||||
|
|
|
@ -94,15 +94,15 @@
|
||||||
@ stdcall NetGetDCName(wstr wstr ptr)
|
@ stdcall NetGetDCName(wstr wstr ptr)
|
||||||
@ stub NetGetDisplayInformationIndex
|
@ stub NetGetDisplayInformationIndex
|
||||||
@ stdcall NetGetJoinInformation(wstr ptr ptr)
|
@ stdcall NetGetJoinInformation(wstr ptr ptr)
|
||||||
@ stub NetGroupAdd
|
@ stdcall NetGroupAdd(wstr long ptr ptr)
|
||||||
@ stub NetGroupAddUser
|
@ stdcall NetGroupAddUser(wstr wstr wstr)
|
||||||
@ stub NetGroupDel
|
@ stdcall NetGroupDel(wstr wstr)
|
||||||
@ stub NetGroupDelUser
|
@ stdcall NetGroupDelUser(wstr wstr wstr)
|
||||||
@ stdcall NetGroupEnum(wstr long ptr long ptr ptr ptr)
|
@ stdcall NetGroupEnum(wstr long ptr long ptr ptr ptr)
|
||||||
@ stdcall NetGroupGetInfo(wstr wstr long ptr)
|
@ stdcall NetGroupGetInfo(wstr wstr long ptr)
|
||||||
@ stub NetGroupGetUsers
|
@ stdcall NetGroupGetUsers(wstr wstr long ptr long ptr ptr ptr)
|
||||||
@ stub NetGroupSetInfo
|
@ stdcall NetGroupSetInfo(wstr wstr long ptr ptr)
|
||||||
@ stub NetGroupSetUsers
|
@ stdcall NetGroupSetUsers(wstr wstr long ptr long)
|
||||||
@ stdcall NetLocalGroupAdd(wstr long ptr ptr)
|
@ stdcall NetLocalGroupAdd(wstr long ptr ptr)
|
||||||
@ stdcall NetLocalGroupAddMember(wstr wstr ptr)
|
@ stdcall NetLocalGroupAddMember(wstr wstr ptr)
|
||||||
@ stdcall NetLocalGroupAddMembers(wstr wstr long ptr long)
|
@ stdcall NetLocalGroupAddMembers(wstr wstr long ptr long)
|
||||||
|
|
|
@ -614,12 +614,12 @@ NET_API_STATUS WINAPI NetUserModalsSet(LPCWSTR,DWORD,PBYTE,PDWORD);
|
||||||
NET_API_STATUS WINAPI NetUserChangePassword(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
NET_API_STATUS WINAPI NetUserChangePassword(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
||||||
NET_API_STATUS WINAPI NetGroupAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
NET_API_STATUS WINAPI NetGroupAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
||||||
NET_API_STATUS WINAPI NetGroupAddUser(LPCWSTR,LPCWSTR,LPCWSTR);
|
NET_API_STATUS WINAPI NetGroupAddUser(LPCWSTR,LPCWSTR,LPCWSTR);
|
||||||
NET_API_STATUS WINAPI NetGroupEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
NET_API_STATUS WINAPI NetGroupEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD_PTR);
|
||||||
NET_API_STATUS WINAPI NetGroupGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
NET_API_STATUS WINAPI NetGroupGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
||||||
NET_API_STATUS WINAPI NetGroupSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
NET_API_STATUS WINAPI NetGroupSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
||||||
NET_API_STATUS WINAPI NetGroupDel(LPCWSTR,LPCWSTR);
|
NET_API_STATUS WINAPI NetGroupDel(LPCWSTR,LPCWSTR);
|
||||||
NET_API_STATUS WINAPI NetGroupDelUser(LPCWSTR,LPCWSTR,LPCWSTR);
|
NET_API_STATUS WINAPI NetGroupDelUser(LPCWSTR,LPCWSTR,LPCWSTR);
|
||||||
NET_API_STATUS WINAPI NetGroupGetUsers(LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
NET_API_STATUS WINAPI NetGroupGetUsers(LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD_PTR);
|
||||||
NET_API_STATUS WINAPI NetGroupSetUsers(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
NET_API_STATUS WINAPI NetGroupSetUsers(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
||||||
NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
||||||
NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR,LPCWSTR,PSID);
|
NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR,LPCWSTR,PSID);
|
||||||
|
|
Loading…
Reference in a new issue