VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/lmshare.h@ 16477

Last change on this file since 16477 was 16477, checked in by vboxsync, 16 years ago

LGPL disclaimer by filemuncher

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1/*
2 * Copyright (C) 2003 Juan Lang
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27#ifndef _LMSHARE_H
28#define _LMSHARE_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#include <lmcons.h>
35
36typedef struct _SHARE_INFO_0 {
37 LMSTR shi0_netname;
38} SHARE_INFO_0, *PSHARE_INFO_0, *LPSHARE_INFO_0;
39
40typedef struct _SHARE_INFO_1 {
41 LMSTR shi1_netname;
42 DWORD shi1_type;
43 LMSTR shi1_remark;
44} SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1;
45
46NET_API_STATUS WINAPI NetShareAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
47NET_API_STATUS WINAPI NetShareCheck(LMSTR,LMSTR,LPDWORD);
48NET_API_STATUS WINAPI NetShareDel(LMSTR,LMSTR,DWORD);
49NET_API_STATUS WINAPI NetShareDelEx(LMSTR,DWORD,LPBYTE);
50NET_API_STATUS WINAPI NetShareDelSticky(LMSTR,LMSTR,DWORD);
51NET_API_STATUS WINAPI NetShareEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
52NET_API_STATUS WINAPI NetShareEnumSticky(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
53NET_API_STATUS WINAPI NetShareGetInfo(LMSTR,LMSTR,DWORD,LPBYTE*);
54NET_API_STATUS WINAPI NetShareSetInfo(LMSTR,LMSTR,DWORD,LPBYTE,LPDWORD);
55
56#define STYPE_DISKTREE 0
57#define STYPE_PRINTQ 1
58#define STYPE_DEVICE 2
59#define STYPE_IPC 3
60#define STYPE_SPECIAL 0x80000000
61
62NET_API_STATUS WINAPI NetSessionDel(LMSTR,LMSTR,LMSTR);
63NET_API_STATUS WINAPI NetSessionEnum(LMSTR,LMSTR,LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
64NET_API_STATUS WINAPI NetSessionGetInfo(LMSTR,LMSTR,LMSTR,DWORD,LPBYTE*);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* ndef _LMSHARE_H */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette