ReactOS 0.4.15-dev-7958-gcd0bb1a
lmcons.h
Go to the documentation of this file.
1#ifndef _LMCONS_H
2#define _LMCONS_H
3
4#define MESSAGE_FILENAME TEXT("NETMSG")
5#define OS2MSG_FILENAME TEXT("BASE")
6#define HELP_MSG_FILENAME TEXT("NETH")
7#define NET_API_FUNCTION __stdcall
8#define NET_API_STATUS DWORD
9#define API_RET_TYPE NET_API_STATUS
10#define MIN_LANMAN_MESSAGE_ID NERR_BASE
11#define MAX_LANMAN_MESSAGE_ID 5799
12#ifndef CNLEN /* also in nddeapi.h */
13#define CNLEN 15
14#define UNCLEN (CNLEN + 2)
15#endif
16#define DNLEN 15
17#define LM20_CNLEN 15
18#define LM20_DNLEN 15
19#define LM20_SNLEN 15
20#define LM20_STXTLEN 63
21#define LM20_UNCLEN (LM20_CNLEN+2)
22#define LM20_NNLEN 12
23#define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
24#define NNLEN 80
25#define RMLEN (UNCLEN+1+NNLEN)
26#define SNLEN 80
27#define STXTLEN 256
28#define PATHLEN 256
29#define LM20_PATHLEN 256
30#define DEVLEN 80
31#define LM20_DEVLEN 8
32#define EVLEN 16
33#define UNLEN 256
34#define LM20_UNLEN 20
35#define GNLEN UNLEN
36#define LM20_GNLEN LM20_UNLEN
37#define PWLEN 256
38#define LM20_PWLEN 14
39#define SHPWLEN 8
40#define CLTYPE_LEN 12
41#define MAXCOMMENTSZ 256
42#define LM20_MAXCOMMENTSZ 48
43#define QNLEN NNLEN
44#define LM20_QNLEN LM20_NNLEN
45#define ALERTSZ 128
46#define MAXDEVENTRIES (sizeof(int)*8)
47#define NETBIOS_NAME_LEN 16
48#define MAX_PREFERRED_LENGTH ((DWORD)-1)
49#define CRYPT_KEY_LEN 7
50#define CRYPT_TXT_LEN 8
51#define ENCRYPTED_PWLEN 16
52#define SESSION_PWLEN 24
53#define SESSION_CRYPT_KLEN 21
54#define PARMNUM_ALL 0
55#define PARM_ERROR_UNKNOWN ((DWORD)-1)
56#define PARM_ERROR_NONE 0
57#define PARMNUM_BASE_INFOLEVEL 1000
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/* new typedef in W2K */
64#if defined( _WIN32_WINNT ) || defined( WINNT ) || defined( FORCE_UNICODE )
65#define LMSTR LPWSTR
66#define LMCSTR LPCWSTR
67#else
68#define LMSTR LPSTR
69#define LMCSTR LPCSTR
70#endif
71
72#endif