mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[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:
parent
243e71c96c
commit
ec398e2908
3 changed files with 49 additions and 62 deletions
|
@ -16,7 +16,6 @@ list(APPEND SOURCE
|
||||||
access.c
|
access.c
|
||||||
apibuf.c
|
apibuf.c
|
||||||
browser.c
|
browser.c
|
||||||
browsr.c
|
|
||||||
ds.c
|
ds.c
|
||||||
dssetup.c
|
dssetup.c
|
||||||
group.c
|
group.c
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include "netapi32.h"
|
#include "netapi32.h"
|
||||||
|
|
||||||
#include <rpc.h>
|
#include <rpc.h>
|
||||||
|
#include <lmbrowsr.h>
|
||||||
#include "browser_c.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
|
NET_API_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
NetServerEnum(
|
NetServerEnum(
|
||||||
LMCSTR servername,
|
_In_opt_ LMCSTR servername,
|
||||||
DWORD level,
|
_In_ DWORD level,
|
||||||
LPBYTE *bufptr,
|
_Out_ LPBYTE *bufptr,
|
||||||
DWORD prefmaxlen,
|
_In_ DWORD prefmaxlen,
|
||||||
LPDWORD entriesread,
|
_Out_ LPDWORD entriesread,
|
||||||
LPDWORD totalentries,
|
_Out_ LPDWORD totalentries,
|
||||||
DWORD servertype,
|
_In_ DWORD servertype,
|
||||||
LMCSTR domain,
|
_In_opt_ LMCSTR domain,
|
||||||
LPDWORD resume_handle)
|
_Inout_opt_ LPDWORD resume_handle)
|
||||||
{
|
{
|
||||||
FIXME("NetServerEnum(%s %lu %p %lu %p %p %lu %s %p)\n",
|
FIXME("NetServerEnum(%s %lu %p %lu %p %p %lu %s %p)\n",
|
||||||
debugstr_w(servername), level, bufptr, prefmaxlen, entriesread,
|
debugstr_w(servername), level, bufptr, prefmaxlen, entriesread,
|
||||||
|
@ -97,15 +128,15 @@ NetServerEnum(
|
||||||
NET_API_STATUS
|
NET_API_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
NetServerEnumEx(
|
NetServerEnumEx(
|
||||||
LMCSTR ServerName,
|
_In_opt_ LMCSTR ServerName,
|
||||||
DWORD Level,
|
_In_ DWORD Level,
|
||||||
LPBYTE *Bufptr,
|
_Out_ LPBYTE *Bufptr,
|
||||||
DWORD PrefMaxlen,
|
_In_ DWORD PrefMaxlen,
|
||||||
LPDWORD EntriesRead,
|
_Out_ LPDWORD EntriesRead,
|
||||||
LPDWORD totalentries,
|
_Out_ LPDWORD totalentries,
|
||||||
DWORD servertype,
|
_In_ DWORD servertype,
|
||||||
LMCSTR domain,
|
_In_opt_ LMCSTR domain,
|
||||||
LMCSTR FirstNameToReturn)
|
_In_opt_ LMCSTR FirstNameToReturn)
|
||||||
{
|
{
|
||||||
FIXME("NetServerEnumEx(%s %lu %p %lu %p %p %lu %s %s)\n",
|
FIXME("NetServerEnumEx(%s %lu %p %lu %p %p %lu %s %s)\n",
|
||||||
debugstr_w(ServerName), Level, Bufptr, PrefMaxlen, EntriesRead, totalentries,
|
debugstr_w(ServerName), Level, Bufptr, PrefMaxlen, EntriesRead, totalentries,
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in a new issue