Commit ed224b33 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Stub implementations for some functions.

parent 2f2c08db
...@@ -482,10 +482,33 @@ NetQueryDisplayInformation( ...@@ -482,10 +482,33 @@ NetQueryDisplayInformation(
*/ */
NET_API_STATUS WINAPI NET_API_STATUS WINAPI
NetGetDCName(LPWSTR servername, LPWSTR domainname, LPBYTE bufptr) NetGetDCName(LPWSTR servername, LPWSTR domainname, LPBYTE *bufptr)
{ {
FIXME("stub!\n"); FIXME("stub!\n");
return NERR_DCNotFound; /* say we can't find a domain controller */ 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;
}
...@@ -48,3 +48,14 @@ NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains( ...@@ -48,3 +48,14 @@ NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains(
{ {
return ERROR_NOT_SUPPORTED; 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;
}
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
@ stub NetGroupGetUsers @ stub NetGroupGetUsers
@ stub NetGroupSetInfo @ stub NetGroupSetInfo
@ stub NetGroupSetUsers @ stub NetGroupSetUsers
@ stub NetLocalGroupAdd @ stdcall NetLocalGroupAdd(wstr long ptr ptr)
@ stub NetLocalGroupAddMember @ stub NetLocalGroupAddMember
@ stub NetLocalGroupAddMembers @ stub NetLocalGroupAddMembers
@ stub NetLocalGroupDel @ stub NetLocalGroupDel
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
@ stub NetLocalGroupGetInfo @ stub NetLocalGroupGetInfo
@ stub NetLocalGroupGetMembers @ stub NetLocalGroupGetMembers
@ stub NetLocalGroupSetInfo @ stub NetLocalGroupSetInfo
@ stub NetLocalGroupSetMembers @ stdcall NetLocalGroupSetMembers(wstr wstr long ptr ptr)
@ stub NetMessageBufferSend @ stub NetMessageBufferSend
@ stub NetMessageNameAdd @ stub NetMessageNameAdd
@ stub NetMessageNameDel @ stub NetMessageNameDel
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
@ stub NetShareCheck @ stub NetShareCheck
@ stub NetShareDel @ stub NetShareDel
@ stub NetShareDelSticky @ stub NetShareDelSticky
@ stub NetShareEnum @ stdcall NetShareEnum(wstr long ptr long ptr ptr ptr)
@ stub NetShareEnumSticky @ stub NetShareEnumSticky
@ stub NetShareGetInfo @ stub NetShareGetInfo
@ stub NetShareSetInfo @ stub NetShareSetInfo
...@@ -190,11 +190,11 @@ ...@@ -190,11 +190,11 @@
@ stub NetUserGetGroups @ stub NetUserGetGroups
@ stdcall NetUserGetInfo(wstr wstr long ptr) @ stdcall NetUserGetInfo(wstr wstr long ptr)
@ stub NetUserGetLocalGroups @ stub NetUserGetLocalGroups
@ stub NetUserModalsGet @ stdcall NetUserModalsGet(wstr long ptr)
@ stub NetUserModalsSet @ stub NetUserModalsSet
@ stub NetUserSetGroups @ stub NetUserSetGroups
@ stub NetUserSetInfo @ stub NetUserSetInfo
@ stub NetWkstaGetInfo @ stdcall NetWkstaGetInfo(wstr long ptr)
@ stub NetWkstaSetInfo @ stub NetWkstaSetInfo
@ stub NetWkstaTransportAdd @ stub NetWkstaTransportAdd
@ stub NetWkstaTransportDel @ stub NetWkstaTransportDel
......
...@@ -440,3 +440,10 @@ NET_API_STATUS WINAPI NetpGetComputerName(LPWSTR *Buffer) ...@@ -440,3 +440,10 @@ NET_API_STATUS WINAPI NetpGetComputerName(LPWSTR *Buffer)
return ERROR_NOT_ENOUGH_MEMORY; 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;
}
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