Files
reactos/reactos/lib/netapi32/browsr.c
Gé van Geldorp e526cc62f9 Sync to Wine-0_9_3:
Francois Gouget <fgouget@free.fr>
- Better stick to the PSDK types and to the dsrole.h prototype.
  Update win32.api.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Added some stubbed Ds-calls
  Start of conformance tests for these Ds-calls.
Ge van Geldorp <gvg@reactos.org>
- Match PSDK STATUS_* definitions.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Add a few missing #includes.
- Add some prototypes to include/ for already existing functions in
  netapi32.

svn path=/trunk/; revision=20134
2005-12-12 23:04:15 +00:00

63 lines
2.0 KiB
C

/*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "lmcons.h"
#include "lmbrowsr.h"
#include "lmshare.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
/************************************************************
* 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;
}
/************************************************************
* NetShareEnum (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetShareEnum( LPWSTR servername, DWORD level, LPBYTE* bufptr,
DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries, LPDWORD resume_handle)
{
FIXME("%s %ld %p %ld %p %p %p\n", debugstr_w(servername), level, bufptr,
prefmaxlen, entriesread, totalentries, resume_handle);
return ERROR_NOT_SUPPORTED;
}