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 */
13 #define UNCLEN (CNLEN + 2)
19 #define LM20_STXTLEN 63
20 #define LM20_UNCLEN (LM20_CNLEN+2)
22 #define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
24 #define RMLEN (UNCLEN+1+NNLEN)
28 #define LM20_PATHLEN 256
35 #define LM20_GNLEN LM20_UNLEN
40 #define MAXCOMMENTSZ 256
41 #define LM20_MAXCOMMENTSZ 48
43 #define LM20_QNLEN LM20_NNLEN
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
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 )
65 #define LMCSTR LPCWSTR