Author: ekohl
Date: Wed Jun 14 13:44:11 2017
New Revision: 75039
URL:
http://svn.reactos.org/svn/reactos?rev=75039&view=rev
Log:
[NETAPI32]
- Add I_BrowserQueryEmulatedDomains and I_BrowserSetNetlogonState to the new computer
browser inferface file.
- Get rid of the now obsolete browsr.c file.
Removed:
trunk/reactos/dll/win32/netapi32/browsr.c
Modified:
trunk/reactos/dll/win32/netapi32/CMakeLists.txt
trunk/reactos/dll/win32/netapi32/browser.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 13:44:11 2017
@@ -16,7 +16,6 @@
access.c
apibuf.c
browser.c
- browsr.c
ds.c
dssetup.c
group.c
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/browser.c [iso-8859-1] Wed Jun 14 13:44:11 2017
@@ -11,6 +11,7 @@
#include "netapi32.h"
#include <rpc.h>
+#include <lmbrowsr.h>
#include "browser_c.h"
@@ -75,16 +76,46 @@
NET_API_STATUS
WINAPI
+I_BrowserQueryEmulatedDomains(
+ _In_opt_ LPWSTR ServerName,
+ _Out_ PBROWSER_EMULATED_DOMAIN *EmulatedDomains,
+ _Out_ LPDWORD EntriesRead)
+{
+ FIXME("I_BrowserQueryEmulatedDomains(%s %p %p)\n",
+ debugstr_w(ServerName), EmulatedDomains, EntriesRead);
+
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+I_BrowserSetNetlogonState(
+ _In_ LPWSTR ServerName,
+ _In_ LPWSTR DomainName,
+ _In_ LPWSTR EmulatedServerName,
+ _In_ DWORD Role)
+{
+ FIXME("I_BrowserSetNetlogonState(%s %s %s %lu)\n",
+ debugstr_w(ServerName), debugstr_w(ServerName),
+ debugstr_w(EmulatedServerName), Role);
+
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
NetServerEnum(
- LMCSTR servername,
- DWORD level,
- LPBYTE *bufptr,
- DWORD prefmaxlen,
- LPDWORD entriesread,
- LPDWORD totalentries,
- DWORD servertype,
- LMCSTR domain,
- LPDWORD resume_handle)
+ _In_opt_ LMCSTR servername,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr,
+ _In_ DWORD prefmaxlen,
+ _Out_ LPDWORD entriesread,
+ _Out_ LPDWORD totalentries,
+ _In_ DWORD servertype,
+ _In_opt_ LMCSTR domain,
+ _Inout_opt_ LPDWORD resume_handle)
{
FIXME("NetServerEnum(%s %lu %p %lu %p %p %lu %s %p)\n",
debugstr_w(servername), level, bufptr, prefmaxlen, entriesread,
@@ -97,15 +128,15 @@
NET_API_STATUS
WINAPI
NetServerEnumEx(
- LMCSTR ServerName,
- DWORD Level,
- LPBYTE *Bufptr,
- DWORD PrefMaxlen,
- LPDWORD EntriesRead,
- LPDWORD totalentries,
- DWORD servertype,
- LMCSTR domain,
- LMCSTR FirstNameToReturn)
+ _In_opt_ LMCSTR ServerName,
+ _In_ DWORD Level,
+ _Out_ LPBYTE *Bufptr,
+ _In_ DWORD PrefMaxlen,
+ _Out_ LPDWORD EntriesRead,
+ _Out_ LPDWORD totalentries,
+ _In_ DWORD servertype,
+ _In_opt_ LMCSTR domain,
+ _In_opt_ LMCSTR FirstNameToReturn)
{
FIXME("NetServerEnumEx(%s %lu %p %lu %p %p %lu %s %s)\n",
debugstr_w(ServerName), Level, Bufptr, PrefMaxlen, EntriesRead, totalentries,
Removed: trunk/reactos/dll/win32/netapi32/browsr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/browsr.…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/browsr.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/browsr.c (removed)
@@ -1,43 +0,0 @@
-/*
- * Copyright 2002 Andriy Palamarchuk
- *
- * netapi32 browser functions
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include "netapi32.h"
-
-#include <lmbrowsr.h>
-
-/************************************************************
- * I_BrowserSetNetlogonState (NETAPI32.@)
- */
-NET_API_STATUS WINAPI I_BrowserSetNetlogonState(
- LPWSTR ServerName, LPWSTR DomainName, LPWSTR EmulatedServerName,
- DWORD Role)
-{
- return ERROR_NOT_SUPPORTED;
-}
-
-/************************************************************
- * I_BrowserQueryEmulatedDomains (NETAPI32.@)
- */
-NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains(
- LPWSTR ServerName, PBROWSER_EMULATED_DOMAIN *EmulatedDomains,
- LPDWORD EntriesRead)
-{
- return ERROR_NOT_SUPPORTED;
-}