mshtml: Implement performance.timing.msFirstPaint.
[wine.git] / include / lmshare.h
blob442cf5ef3067de18363f86eb0b241cd72cefbf0a
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 #include <lmcons.h>
27 typedef struct _SHARE_INFO_0 {
28 LMSTR shi0_netname;
29 } SHARE_INFO_0, *PSHARE_INFO_0, *LPSHARE_INFO_0;
31 typedef struct _SHARE_INFO_1 {
32 LMSTR shi1_netname;
33 DWORD shi1_type;
34 LMSTR shi1_remark;
35 } SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1;
37 typedef struct _SHARE_INFO_2 {
38 LMSTR shi2_netname;
39 DWORD shi2_type;
40 LMSTR shi2_remark;
41 DWORD shi2_permissions;
42 DWORD shi2_max_uses;
43 DWORD shi2_current_uses;
44 LMSTR shi2_path;
45 LMSTR shi2_passwd;
46 } SHARE_INFO_2, *PSHARE_INFO_2, *LPSHARE_INFO_2;
48 typedef struct _SHARE_INFO_502 {
49 LMSTR shi502_netname;
50 DWORD shi502_type;
51 LMSTR shi502_remark;
52 DWORD shi502_permissions;
53 DWORD shi502_max_uses;
54 DWORD shi502_current_uses;
55 LMSTR shi502_path;
56 LMSTR shi502_passwd;
57 DWORD shi502_reserved;
58 PSECURITY_DESCRIPTOR shi502_security_descriptor;
59 } SHARE_INFO_502, *PSHARE_INFO_502, *LPSHARE_INFO_502;
61 NET_API_STATUS WINAPI NetShareAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
62 NET_API_STATUS WINAPI NetShareCheck(LMSTR,LMSTR,LPDWORD);
63 NET_API_STATUS WINAPI NetShareDel(LMSTR,LMSTR,DWORD);
64 NET_API_STATUS WINAPI NetShareDelEx(LMSTR,DWORD,LPBYTE);
65 NET_API_STATUS WINAPI NetShareDelSticky(LMSTR,LMSTR,DWORD);
66 NET_API_STATUS WINAPI NetShareEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
67 NET_API_STATUS WINAPI NetShareEnumSticky(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
68 NET_API_STATUS WINAPI NetShareGetInfo(LMSTR,LMSTR,DWORD,LPBYTE*);
69 NET_API_STATUS WINAPI NetShareSetInfo(LMSTR,LMSTR,DWORD,LPBYTE,LPDWORD);
71 #define STYPE_DISKTREE 0
72 #define STYPE_PRINTQ 1
73 #define STYPE_DEVICE 2
74 #define STYPE_IPC 3
75 #define STYPE_SPECIAL 0x80000000
77 NET_API_STATUS WINAPI NetSessionDel(LMSTR,LMSTR,LMSTR);
78 NET_API_STATUS WINAPI NetSessionEnum(LMSTR,LMSTR,LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
79 NET_API_STATUS WINAPI NetSessionGetInfo(LMSTR,LMSTR,LMSTR,DWORD,LPBYTE*);
81 #ifdef __cplusplus
83 #endif
85 #endif /* ndef _LMSHARE_H */