Install msysDVLPR-1.0.0-alpha-1
[msysgit.git] / include / lmcons.h
blobc82837f25c75b20d2c901e48b8e1a8948a6052eb
1 #ifndef _LMCONS_H
2 #define _LMCONS_H
3 #define MESSAGE_FILENAME TEXT("NETMSG")
4 #define OS2MSG_FILENAME TEXT("BASE")
5 #define HELP_MSG_FILENAME TEXT("NETH")
6 #define NET_API_FUNCTION __stdcall
7 #define NET_API_STATUS DWORD
8 #define API_RET_TYPE NET_API_STATUS
9 #define MIN_LANMAN_MESSAGE_ID NERR_BASE
10 #define MAX_LANMAN_MESSAGE_ID 5799
11 #ifndef CNLEN /* also in nddeapi.h */
12 #define CNLEN 15
13 #define UNCLEN (CNLEN + 2)
14 #endif
15 #define DNLEN 15
16 #define LM20_CNLEN 15
17 #define LM20_DNLEN 15
18 #define LM20_SNLEN 15
19 #define LM20_STXTLEN 63
20 #define LM20_UNCLEN (LM20_CNLEN+2)
21 #define LM20_NNLEN 12
22 #define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
23 #define NNLEN 80
24 #define RMLEN (UNCLEN+1+NNLEN)
25 #define SNLEN 80
26 #define STXTLEN 256
27 #define PATHLEN 256
28 #define LM20_PATHLEN 256
29 #define DEVLEN 80
30 #define LM20_DEVLEN 8
31 #define EVLEN 16
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 CLTYPE_LEN 12
40 #define MAXCOMMENTSZ 256
41 #define LM20_MAXCOMMENTSZ 48
42 #define QNLEN NNLEN
43 #define LM20_QNLEN LM20_NNLEN
44 #define ALERTSZ 128
45 #define MAXDEVENTRIES (sizeof(int)*8)
46 #define NETBIOS_NAME_LEN 16
47 #define MAX_PREFERRED_LENGTH ((DWORD)-1)
48 #define CRYPT_KEY_LEN 7
49 #define CRYPT_TXT_LEN 8
50 #define ENCRYPTED_PWLEN 16
51 #define SESSION_PWLEN 24
52 #define SESSION_CRYPT_KLEN 21
53 #define PARMNUM_ALL 0
54 #define PARM_ERROR_UNKNOWN ((DWORD)-1)
55 #define PARM_ERROR_NONE 0
56 #define PARMNUM_BASE_INFOLEVEL 1000
57 #define PLATFORM_ID_DOS 300
58 #define PLATFORM_ID_OS2 400
59 #define PLATFORM_ID_NT 500
60 #define PLATFORM_ID_OSF 600
61 #define PLATFORM_ID_VMS 700
62 /* new typedef in W2K */
63 #if defined( _WIN32_WINNT ) || defined( WINNT ) || defined( FORCE_UNICODE )
64 #define LMSTR LPWSTR
65 #define LMCSTR LPCWSTR
66 #else
67 #define LMSTR LPSTR
68 #define LMCSTR LPCSTR
69 #endif
71 #endif