urlmon: Implement HttpProtocol::Terminate.
[wine.git] / include / lmshare.h
blob082abf2f9162b8956cef0a40c799bdfdf95bbbcc
1 /*
2 * Copyright (C) 2003 Juan Lang
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef _LMSHARE_H
19 #define _LMSHARE_H
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 typedef struct _SHARE_INFO_0 {
26 LMSTR shi0_netname;
27 } SHARE_INFO_0, *PSHARE_INFO_0, *LPSHARE_INFO_0;
29 typedef struct _SHARE_INFO_1 {
30 LMSTR shi1_netname;
31 DWORD shi1_type;
32 LMSTR shi1_remark;
33 } SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1;
35 NET_API_STATUS WINAPI NetShareDel(LMSTR servername, LMSTR netname, DWORD reserved);
36 NET_API_STATUS WINAPI NetShareEnum(LMSTR servername, DWORD level,
37 LPBYTE *bufptr, DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries,
38 LPDWORD resume_handle);
40 #define STYPE_DISKTREE 0
41 #define STYPE_PRINTQ 1
42 #define STYPE_DEVICE 2
43 #define STYPE_IPC 3
44 #define STYPE_SPECIAL 0x80000000
46 NET_API_STATUS NET_API_FUNCTION NetSessionEnum(LMSTR servername, LMSTR UncClientName,
47 LMSTR username, DWORD level, LPBYTE *bufptr, DWORD prefmaxlen, LPDWORD entriesread,
48 LPDWORD totalentries, LPDWORD resume_handle);
50 #ifdef __cplusplus
52 #endif
54 #endif /* ndef _LMSHARE_H */