3cda17ec7c8c18471dc0e3e057ce35a5dd369d98
[reactos.git] / reactos / lib / netapi32 / browsr.c
1 /*
2 * Copyright 2002 Andriy Palamarchuk
3 *
4 * netapi32 browser functions
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winerror.h"
26 #include "lmcons.h"
27 #include "lmbrowsr.h"
28 #include "wine/debug.h"
29
30 WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
31
32 /************************************************************
33 * I_BrowserSetNetlogonState (NETAPI32.@)
34 */
35 NET_API_STATUS WINAPI I_BrowserSetNetlogonState(
36 LPWSTR ServerName, LPWSTR DomainName, LPWSTR EmulatedServerName,
37 DWORD Role)
38 {
39 return ERROR_NOT_SUPPORTED;
40 }
41
42 /************************************************************
43 * I_BrowserQueryEmulatedDomains (NETAPI32.@)
44 */
45 NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains(
46 LPWSTR ServerName, PBROWSER_EMULATED_DOMAIN *EmulatedDomains,
47 LPDWORD EntriesRead)
48 {
49 return ERROR_NOT_SUPPORTED;
50 }
51
52 /************************************************************
53 * NetShareEnum (NETAPI32.@)
54 */
55 NET_API_STATUS WINAPI NetShareEnum( LPWSTR servername, DWORD level, LPBYTE* bufptr,
56 DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries, LPDWORD resume_handle)
57 {
58 FIXME("%s %ld %p %ld %p %p %p\n", debugstr_w(servername), level, bufptr,
59 prefmaxlen, entriesread, totalentries, resume_handle);
60 return ERROR_NOT_SUPPORTED;
61 }