4 #pragma GCC system_header
7 #define MESSAGE_FILENAME TEXT("NETMSG")
8 #define OS2MSG_FILENAME TEXT("BASE")
9 #define HELP_MSG_FILENAME TEXT("NETH")
10 #define NET_API_FUNCTION __stdcall
11 #define NET_API_STATUS DWORD
12 #define API_RET_TYPE NET_API_STATUS
13 #define MIN_LANMAN_MESSAGE_ID NERR_BASE
14 #define MAX_LANMAN_MESSAGE_ID 5799
15 #ifndef CNLEN /* also in nddeapi.h */
17 #define UNCLEN (CNLEN + 2)
23 #define LM20_STXTLEN 63
24 #define LM20_UNCLEN (LM20_CNLEN+2)
26 #define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
28 #define RMLEN (UNCLEN+1+NNLEN)
32 #define LM20_PATHLEN 256
39 #define LM20_GNLEN LM20_UNLEN
44 #define MAXCOMMENTSZ 256
45 #define LM20_MAXCOMMENTSZ 48
47 #define LM20_QNLEN LM20_NNLEN
49 #define MAXDEVENTRIES (sizeof(int)*8)
50 #define NETBIOS_NAME_LEN 16
51 #define MAX_PREFERRED_LENGTH ((DWORD)-1)
52 #define CRYPT_KEY_LEN 7
53 #define CRYPT_TXT_LEN 8
54 #define ENCRYPTED_PWLEN 16
55 #define SESSION_PWLEN 24
56 #define SESSION_CRYPT_KLEN 21
58 #define PARM_ERROR_UNKNOWN ((DWORD)-1)
59 #define PARM_ERROR_NONE 0
60 #define PARMNUM_BASE_INFOLEVEL 1000
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
66 /* new typedef in W2K */
67 #if defined( _WIN32_WINNT ) || defined( WINNT ) || defined( FORCE_UNICODE )
69 #define LMCSTR LPCWSTR