Add the IAutoComplete and IAutoComplete2 implementation (but methods
[wine] / include / lmcons.h
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __WINE_LMCONS_H
20 #define __WINE_LMCONS_H
21
22 /* Types */
23
24 #define NET_API_STATUS          DWORD
25
26 #define MAX_PREFERRED_LENGTH            ((DWORD) -1)
27
28 /* Lan manager API defines */
29
30 #define UNLEN       256                 /* Maximum user name length */
31 #define LM20_UNLEN  20
32 #define GNLEN       UNLEN               /* Maximum group name length */
33 #define LM20_GNLEN  LM20_UNLEN
34 #define PWLEN       256                 /* Maximum password length */
35 #define LM20_PWLEN  14
36 #define CNLEN       15                  /* Computer name length  */
37 #define LM20_CNLEN  CNLEN
38 #define DNLEN       CNLEN               /* Maximum domain name length */
39 #define LM20_DNLEN  DNLEN
40 #define UNCLEN      (CNLEN+2)           /* UNC computer name length */
41 #define LM20_UNCLEN (LM20_CNLEN+2)
42 #define NNLEN       80                  /* max share name length */
43 #define LM20_NNLEN  12                  /* max LM 2.0 share name length */
44 #define RMLEN       (UNCLEN+1+NNLEN)
45 #define LM20_RMLEN  (LM20_UNCLEN+1+LM20_NNLEN)
46 #define SNLEN       80                  /* max service name length */
47 #define LM20_SNLEN  15
48 #define STXTLEN     256                 /* service text length */
49 #define LM20_STXTLEN 63
50 #define PATHLEN     256
51 #define LM20_PATHLEN 256
52 #define DEVLEN      80                  /* max device name length */
53 #define LM20_DEVLEN 8
54 #define EVLEN       16                  /* max event name length */
55 #define CLTYPE_LEN  12                  /* max client type length */
56
57 /* platform IDs */
58 #define PLATFORM_ID_DOS 300
59 #define PLATFORM_ID_OS2 400
60 #define PLATFORM_ID_NT  500
61 #define PLATFORM_ID_OSF 600
62 #define PLATFORM_ID_VMS 700
63
64 #define LMSTR LPWSTR
65 #define LMCSTR LPCWSTR
66
67 #endif