include: Pack HID_DESCRIPTOR.
[wine/zf.git] / include / lmcons.h
blob5a0a2fe77674aec8840d6c6a3e68e52482e1e873
1 /*
2 * Copyright (C) 1999 Rein Klazes
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
19 #ifndef __WINE_LMCONS_H
20 #define __WINE_LMCONS_H
22 /* Types */
24 #define NET_API_STATUS DWORD
25 #define API_RET_TYPE NET_API_STATUS
26 #define NET_API_FUNCTION WINAPI
28 #define MAX_PREFERRED_LENGTH ((DWORD) -1)
30 /* Lan manager API defines */
32 #define UNLEN 256
33 #define LM20_UNLEN 20
34 #define GNLEN UNLEN
35 #define LM20_GNLEN LM20_UNLEN
36 #define PWLEN 256
37 #define LM20_PWLEN 14
38 #define SHPWLEN 8
39 #define CNLEN 15
40 #define LM20_CNLEN CNLEN
41 #define DNLEN CNLEN
42 #define LM20_DNLEN DNLEN
43 #define UNCLEN (CNLEN+2)
44 #define LM20_UNCLEN (LM20_CNLEN+2)
45 #define NNLEN 80
46 #define LM20_NNLEN 12
47 #define RMLEN (UNCLEN+1+NNLEN)
48 #define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
49 #define SNLEN 80
50 #define LM20_SNLEN 15
51 #define STXTLEN 256
52 #define LM20_STXTLEN 63
53 #define PATHLEN 256
54 #define LM20_PATHLEN 256
55 #define DEVLEN 80
56 #define LM20_DEVLEN 8
57 #define EVLEN 16
58 #define CLTYPE_LEN 12
60 /* platform IDs */
61 #define PLATFORM_ID_DOS 300
62 #define PLATFORM_ID_OS2 400
63 #define PLATFORM_ID_NT 500
64 #define PLATFORM_ID_OSF 600
65 #define PLATFORM_ID_VMS 700
67 #define LMSTR LPWSTR
68 #define LMCSTR LPCWSTR
70 #endif