1 | /*
|
---|
2 | * Copyright (C) 1999 Rein Klazes
|
---|
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 | * Oracle 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, Oracle 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 |
|
---|
28 | #ifndef __WINE_LMCONS_H
|
---|
29 | #define __WINE_LMCONS_H
|
---|
30 |
|
---|
31 | /* Types */
|
---|
32 |
|
---|
33 | #define NET_API_STATUS DWORD
|
---|
34 | #define API_RET_TYPE NET_API_STATUS
|
---|
35 | #define NET_API_FUNCTION WINAPI
|
---|
36 |
|
---|
37 | #define MAX_PREFERRED_LENGTH ((DWORD) -1)
|
---|
38 |
|
---|
39 | /* Lan manager API defines */
|
---|
40 |
|
---|
41 | #define UNLEN 256
|
---|
42 | #define LM20_UNLEN 20
|
---|
43 | #define GNLEN UNLEN
|
---|
44 | #define LM20_GNLEN LM20_UNLEN
|
---|
45 | #define PWLEN 256
|
---|
46 | #define LM20_PWLEN 14
|
---|
47 | #define SHPWLEN 8
|
---|
48 | #define CNLEN 15
|
---|
49 | #define LM20_CNLEN CNLEN
|
---|
50 | #define DNLEN CNLEN
|
---|
51 | #define LM20_DNLEN DNLEN
|
---|
52 | #define UNCLEN (CNLEN+2)
|
---|
53 | #define LM20_UNCLEN (LM20_CNLEN+2)
|
---|
54 | #define NNLEN 80
|
---|
55 | #define LM20_NNLEN 12
|
---|
56 | #define RMLEN (UNCLEN+1+NNLEN)
|
---|
57 | #define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
|
---|
58 | #define SNLEN 80
|
---|
59 | #define LM20_SNLEN 15
|
---|
60 | #define STXTLEN 256
|
---|
61 | #define LM20_STXTLEN 63
|
---|
62 | #define PATHLEN 256
|
---|
63 | #define LM20_PATHLEN 256
|
---|
64 | #define DEVLEN 80
|
---|
65 | #define LM20_DEVLEN 8
|
---|
66 | #define EVLEN 16
|
---|
67 | #define CLTYPE_LEN 12
|
---|
68 |
|
---|
69 | /* platform IDs */
|
---|
70 | #define PLATFORM_ID_DOS 300
|
---|
71 | #define PLATFORM_ID_OS2 400
|
---|
72 | #define PLATFORM_ID_NT 500
|
---|
73 | #define PLATFORM_ID_OSF 600
|
---|
74 | #define PLATFORM_ID_VMS 700
|
---|
75 |
|
---|
76 | #define LMSTR LPWSTR
|
---|
77 | #define LMCSTR LPCWSTR
|
---|
78 |
|
---|
79 | #endif
|
---|