mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 12:08:55 +00:00
[NETAPI32]
Move the stubs NetServerEnum and NetServerEnumEx into a new file for the computer browser service interface code. svn path=/trunk/; revision=75034
This commit is contained in:
parent
89eb252fb8
commit
005d3af030
3 changed files with 62 additions and 43 deletions
|
@ -14,6 +14,7 @@ add_rpc_files(client
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
access.c
|
access.c
|
||||||
apibuf.c
|
apibuf.c
|
||||||
|
browser.c
|
||||||
browsr.c
|
browsr.c
|
||||||
ds.c
|
ds.c
|
||||||
dssetup.c
|
dssetup.c
|
||||||
|
|
61
reactos/dll/win32/netapi32/browser.c
Normal file
61
reactos/dll/win32/netapi32/browser.c
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: NetAPI DLL
|
||||||
|
* FILE: dll/win32/netapi32/browser.c
|
||||||
|
* PURPOSE: Computer Browser service interface code
|
||||||
|
* PROGRAMMERS: Eric Kohl (eric.kohl@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include "netapi32.h"
|
||||||
|
|
||||||
|
#include <rpc.h>
|
||||||
|
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
|
||||||
|
|
||||||
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetServerEnum(
|
||||||
|
LMCSTR servername,
|
||||||
|
DWORD level,
|
||||||
|
LPBYTE *bufptr,
|
||||||
|
DWORD prefmaxlen,
|
||||||
|
LPDWORD entriesread,
|
||||||
|
LPDWORD totalentries,
|
||||||
|
DWORD servertype,
|
||||||
|
LMCSTR domain,
|
||||||
|
LPDWORD resume_handle)
|
||||||
|
{
|
||||||
|
FIXME("NetServerEnum(%s %lu %p %lu %p %p %lu %s %p)\n",
|
||||||
|
debugstr_w(servername), level, bufptr, prefmaxlen, entriesread,
|
||||||
|
totalentries, servertype, debugstr_w(domain), resume_handle);
|
||||||
|
|
||||||
|
return ERROR_NO_BROWSER_SERVERS_FOUND;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetServerEnumEx(
|
||||||
|
LMCSTR ServerName,
|
||||||
|
DWORD Level,
|
||||||
|
LPBYTE *Bufptr,
|
||||||
|
DWORD PrefMaxlen,
|
||||||
|
LPDWORD EntriesRead,
|
||||||
|
LPDWORD totalentries,
|
||||||
|
DWORD servertype,
|
||||||
|
LMCSTR domain,
|
||||||
|
LMCSTR FirstNameToReturn)
|
||||||
|
{
|
||||||
|
FIXME("NetServerEnumEx(%s %lu %p %lu %p %p %lu %s %s)\n",
|
||||||
|
debugstr_w(ServerName), Level, Bufptr, PrefMaxlen, EntriesRead, totalentries,
|
||||||
|
servertype, debugstr_w(domain), debugstr_w(FirstNameToReturn));
|
||||||
|
|
||||||
|
return ERROR_NO_BROWSER_SERVERS_FOUND;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* EOF */
|
|
@ -41,49 +41,6 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
|
||||||
* NetServerEnum (NETAPI32.@)
|
|
||||||
*/
|
|
||||||
NET_API_STATUS WINAPI NetServerEnum(
|
|
||||||
LMCSTR servername,
|
|
||||||
DWORD level,
|
|
||||||
LPBYTE* bufptr,
|
|
||||||
DWORD prefmaxlen,
|
|
||||||
LPDWORD entriesread,
|
|
||||||
LPDWORD totalentries,
|
|
||||||
DWORD servertype,
|
|
||||||
LMCSTR domain,
|
|
||||||
LPDWORD resume_handle
|
|
||||||
)
|
|
||||||
{
|
|
||||||
FIXME("Stub (%s %d %p %d %p %p %d %s %p)\n", debugstr_w(servername),
|
|
||||||
level, bufptr, prefmaxlen, entriesread, totalentries, servertype,
|
|
||||||
debugstr_w(domain), resume_handle);
|
|
||||||
|
|
||||||
return ERROR_NO_BROWSER_SERVERS_FOUND;
|
|
||||||
}
|
|
||||||
|
|
||||||
/************************************************************
|
|
||||||
* NetServerEnumEx (NETAPI32.@)
|
|
||||||
*/
|
|
||||||
NET_API_STATUS WINAPI NetServerEnumEx(
|
|
||||||
LMCSTR ServerName,
|
|
||||||
DWORD Level,
|
|
||||||
LPBYTE *Bufptr,
|
|
||||||
DWORD PrefMaxlen,
|
|
||||||
LPDWORD EntriesRead,
|
|
||||||
LPDWORD totalentries,
|
|
||||||
DWORD servertype,
|
|
||||||
LMCSTR domain,
|
|
||||||
LMCSTR FirstNameToReturn)
|
|
||||||
{
|
|
||||||
FIXME("Stub (%s %d %p %d %p %p %d %s %s)\n",
|
|
||||||
debugstr_w(ServerName), Level, Bufptr, PrefMaxlen, EntriesRead, totalentries,
|
|
||||||
servertype, debugstr_w(domain), debugstr_w(FirstNameToReturn));
|
|
||||||
|
|
||||||
return ERROR_NO_BROWSER_SERVERS_FOUND;
|
|
||||||
}
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
* NetServerGetInfo (NETAPI32.@)
|
* NetServerGetInfo (NETAPI32.@)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue