[NETAPI32]

- Add I_BrowserQueryEmulatedDomains and I_BrowserSetNetlogonState to the new computer browser inferface file.
- Get rid of the now obsolete browsr.c file.

svn path=/trunk/; revision=75039
This commit is contained in:
Eric Kohl 2017-06-14 13:44:11 +00:00
parent 243e71c96c
commit ec398e2908
3 changed files with 49 additions and 62 deletions

View file

@ -16,7 +16,6 @@ list(APPEND SOURCE
access.c
apibuf.c
browser.c
browsr.c
ds.c
dssetup.c
group.c

View file

@ -11,6 +11,7 @@
#include "netapi32.h"
#include <rpc.h>
#include <lmbrowsr.h>
#include "browser_c.h"
@ -73,18 +74,48 @@ BROWSER_IDENTIFY_HANDLE_unbind(BROWSER_IDENTIFY_HANDLE pszSystemName,
}
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 @@ NetServerEnum(
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,

View file

@ -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;
}