Author: ekohl
Date: Wed Jun 14 12:17:08 2017
New Revision: 75034
URL:
http://svn.reactos.org/svn/reactos?rev=75034&view=rev
Log:
[NETAPI32]
Move the stubs NetServerEnum and NetServerEnumEx into a new file for the computer browser
service interface code.
Added:
trunk/reactos/dll/win32/netapi32/browser.c (with props)
Modified:
trunk/reactos/dll/win32/netapi32/CMakeLists.txt
trunk/reactos/dll/win32/netapi32/netapi32.c
Modified: trunk/reactos/dll/win32/netapi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] Wed Jun 14 12:17:08 2017
@@ -14,6 +14,7 @@
list(APPEND SOURCE
access.c
apibuf.c
+ browser.c
browsr.c
ds.c
dssetup.c
Added: trunk/reactos/dll/win32/netapi32/browser.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/browser…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/browser.c (added)
+++ trunk/reactos/dll/win32/netapi32/browser.c [iso-8859-1] Wed Jun 14 12:17:08 2017
@@ -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(a)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 */
Propchange: trunk/reactos/dll/win32/netapi32/browser.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/netapi32/netapi32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netapi3…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/netapi32.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/netapi32.c [iso-8859-1] Wed Jun 14 12:17:08 2017
@@ -39,49 +39,6 @@
}
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;
}
/************************************************************