netapi32: Add stub for NetServerEnumEx.

This commit is contained in:
Robert Reif 2006-06-07 07:42:24 -04:00 committed by Alexandre Julliard
parent fac494c822
commit 65dd8741ff
3 changed files with 25 additions and 1 deletions

View File

@ -49,6 +49,9 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
/************************************************************
* NetServerEnum (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetServerEnum(
LPCWSTR servername,
DWORD level,
@ -68,6 +71,26 @@ NET_API_STATUS WINAPI NetServerEnum(
return ERROR_NO_BROWSER_SERVERS_FOUND;
}
/************************************************************
* NetServerEnumEx (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetServerEnumEx(
LPCWSTR ServerName,
DWORD Level,
LPBYTE *Bufptr,
DWORD PrefMaxlen,
LPDWORD EntriesRead,
LPDWORD totalentries,
DWORD servertype,
LPCWSTR domain,
LPCWSTR FirstNameToReturn)
{
FIXME("Stub (%s %ld %p %ld %p %p %ld %s %p)\n", debugstr_w(ServerName),
Level, Bufptr, PrefMaxlen, EntriesRead, totalentries, servertype,
debugstr_w(domain), debugstr_w(FirstNameToReturn));
return ERROR_NO_BROWSER_SERVERS_FOUND;
}
/************************************************************
* NetServerGetInfo (NETAPI32.@)

View File

@ -172,7 +172,7 @@
@ stub NetServerComputerNameDel
@ stub NetServerDiskEnum
@ stdcall NetServerEnum(wstr long ptr long ptr ptr long wstr ptr)
@ stub NetServerEnumEx
@ stdcall NetServerEnumEx(wstr long ptr long ptr ptr long wstr wstr)
@ stdcall NetServerGetInfo(wstr long ptr)
@ stub NetServerSetInfo
@ stub NetServerTransportAdd

View File

@ -39,6 +39,7 @@ typedef struct _SERVER_INFO_101 {
} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
NET_API_STATUS WINAPI NetServerEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LPCWSTR,LPDWORD);
NET_API_STATUS WINAPI NetServerEnumEx(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LPCWSTR,LPCWSTR);
NET_API_STATUS WINAPI NetServerGetInfo(LMSTR,DWORD,LPBYTE*);
BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL);