Stub implementations for some functions.

This commit is contained in:
Mike McCormack 2003-12-04 20:53:46 +00:00 committed by Alexandre Julliard
parent 2f2c08db8c
commit ed224b3398
4 changed files with 47 additions and 6 deletions

View File

@ -482,10 +482,33 @@ NetQueryDisplayInformation(
*/
NET_API_STATUS WINAPI
NetGetDCName(LPWSTR servername, LPWSTR domainname, LPBYTE bufptr)
NetGetDCName(LPWSTR servername, LPWSTR domainname, LPBYTE *bufptr)
{
FIXME("stub!\n");
return NERR_DCNotFound; /* say we can't find a domain controller */
}
/************************************************************
* NetUserModalsGet (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR szServer, DWORD level, LPBYTE *pbuffer)
{
FIXME("%s %ld %p\n", debugstr_w( szServer ), level, pbuffer );
return NERR_InternalError;
}
NET_API_STATUS WINAPI NetLocalGroupAdd( LPCWSTR servername, DWORD level,
LPBYTE buf, LPDWORD parm_err)
{
FIXME("%s %ld %p %p\n", debugstr_w( servername ), level, buf, parm_err);
return NERR_Success;
}
NET_API_STATUS WINAPI NetLocalGroupSetMembers( LPCWSTR servername,
LPCWSTR groupname, DWORD level, LPBYTE buf, DWORD totalentries)
{
FIXME("%s %s %ld %p %ld\n", debugstr_w(servername), debugstr_w(groupname),
level, buf, totalentries);
return NERR_Success;
}

View File

@ -48,3 +48,14 @@ NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains(
{
return ERROR_NOT_SUPPORTED;
}
/************************************************************
* NetShareEnum (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetShareEnum( LPWSTR servername, DWORD level, LPBYTE* bufptr,
DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries, LPDWORD resume_handle)
{
FIXME("%s %ld %p %ld %p %p %p\n", debugstr_w(servername), level, bufptr,
prefmaxlen, entriesread, totalentries, resume_handle);
return ERROR_NOT_SUPPORTED;
}

View File

@ -85,7 +85,7 @@
@ stub NetGroupGetUsers
@ stub NetGroupSetInfo
@ stub NetGroupSetUsers
@ stub NetLocalGroupAdd
@ stdcall NetLocalGroupAdd(wstr long ptr ptr)
@ stub NetLocalGroupAddMember
@ stub NetLocalGroupAddMembers
@ stub NetLocalGroupDel
@ -95,7 +95,7 @@
@ stub NetLocalGroupGetInfo
@ stub NetLocalGroupGetMembers
@ stub NetLocalGroupSetInfo
@ stub NetLocalGroupSetMembers
@ stdcall NetLocalGroupSetMembers(wstr wstr long ptr ptr)
@ stub NetMessageBufferSend
@ stub NetMessageNameAdd
@ stub NetMessageNameDel
@ -174,7 +174,7 @@
@ stub NetShareCheck
@ stub NetShareDel
@ stub NetShareDelSticky
@ stub NetShareEnum
@ stdcall NetShareEnum(wstr long ptr long ptr ptr ptr)
@ stub NetShareEnumSticky
@ stub NetShareGetInfo
@ stub NetShareSetInfo
@ -190,11 +190,11 @@
@ stub NetUserGetGroups
@ stdcall NetUserGetInfo(wstr wstr long ptr)
@ stub NetUserGetLocalGroups
@ stub NetUserModalsGet
@ stdcall NetUserModalsGet(wstr long ptr)
@ stub NetUserModalsSet
@ stub NetUserSetGroups
@ stub NetUserSetInfo
@ stub NetWkstaGetInfo
@ stdcall NetWkstaGetInfo(wstr long ptr)
@ stub NetWkstaSetInfo
@ stub NetWkstaTransportAdd
@ stub NetWkstaTransportDel

View File

@ -440,3 +440,10 @@ NET_API_STATUS WINAPI NetpGetComputerName(LPWSTR *Buffer)
return ERROR_NOT_ENOUGH_MEMORY;
}
}
NET_API_STATUS WINAPI NetWkstaGetInfo( LPWSTR servername, DWORD level,
LPBYTE* bufptr)
{
FIXME("%p %ld %p\n", debugstr_w( servername ), level, bufptr );
return ERROR_ACCESS_DENIED;
}