ReactOS  0.4.14-dev-114-gc8cbd56
precomp.h
Go to the documentation of this file.
1 #ifndef _RASADHLP_H
2 #define _RASADHLP_H
3 
4 #define _WIN32_WINNT 0x502
5 #define _CRT_SECURE_NO_DEPRECATE
6 #define WIN32_NO_STATUS
7 #define _INC_WINDOWS
8 #define COM_NO_WINDOWS_H
9 
10 #include <stdarg.h>
11 
12 /* PSDK Headers */
13 #include <windef.h>
14 #include <winbase.h>
15 #include <winsock2.h>
16 #include <wsnetbs.h>
17 #include <wininet.h>
18 
19 /* These should go in rasadhlp.h */
20 #define FILE_DEVICE_ACD 0x000000F1
21 #define _ACD_CTL_CODE(function, method, access) \
22  CTL_CODE(FILE_DEVICE_ACD, function, method, access)
23 
24 #define IOCTL_ACD_RESET \
25  _ACD_CTL_CODE(0, METHOD_BUFFERED, FILE_WRITE_ACCESS)
26 #define IOCTL_ACD_ENABLE \
27  _ACD_CTL_CODE(1, METHOD_BUFFERED, FILE_WRITE_ACCESS)
28 #define IOCTL_ACD_NOTIFICATION \
29  _ACD_CTL_CODE(2, METHOD_BUFFERED, FILE_READ_ACCESS)
30 #define IOCTL_ACD_KEEPALIVE \
31  _ACD_CTL_CODE(3, METHOD_BUFFERED, FILE_READ_ACCESS)
32 #define IOCTL_ACD_COMPLETION \
33  _ACD_CTL_CODE(4, METHOD_BUFFERED, FILE_WRITE_ACCESS)
34 #define IOCTL_ACD_CONNECT_ADDRESS \
35  _ACD_CTL_CODE(5, METHOD_BUFFERED, FILE_READ_ACCESS)
36 
37 typedef enum
38 {
44 
45 typedef enum
46 {
52 
53 typedef struct _AUTODIAL_ADDR
54 {
56  union
57  {
62  };
64 
65 typedef struct _AUTODIAL_CONN
66 {
68  union
69  {
74  };
76 
77 typedef struct _AUTODIAL_COMMAND
78 {
83 
84 BOOLEAN
85 WINAPI
87  IN PAUTODIAL_ADDR ConnectionAddress,
88  IN PAUTODIAL_CONN Connection
89 );
90 
91 BOOLEAN
92 WINAPI
94  IN PAUTODIAL_ADDR ConnectionAddress
95 );
96 
97 #endif /* _RASADHLP_H */
BOOLEAN WINAPI AcsHlpAttemptConnection(IN PAUTODIAL_ADDR ConnectionAddress)
Definition: autodial.c:89
#define IN
Definition: typedefs.h:38
struct _AUTODIAL_CONN * PAUTODIAL_CONN
char CHAR
Definition: xmlstorage.h:175
IN_ADDR Ip4Address
Definition: precomp.h:58
ULONG Ip4Address
Definition: precomp.h:71
CHAR HostName[INTERNET_MAX_PATH_LENGTH]
Definition: precomp.h:61
struct _AUTODIAL_COMMAND * PAUTODIAL_COMMAND
struct _AUTODIAL_COMMAND AUTODIAL_COMMAND
CONNECTION_FAMILY
Definition: precomp.h:45
struct _AUTODIAL_ADDR * PAUTODIAL_ADDR
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned char BOOLEAN
struct _AUTODIAL_ADDR AUTODIAL_ADDR
BOOLEAN WINAPI AcsHlpNoteNewConnection(IN PAUTODIAL_ADDR ConnectionAddress, IN PAUTODIAL_CONN Connection)
Definition: autodial.c:108
__wchar_t WCHAR
Definition: xmlstorage.h:180
Definition: tcpip.h:125
#define WINAPI
Definition: msvc.h:8
AUTODIAL_FAMILY Family
Definition: precomp.h:55
#define NETBIOS_NAME_LENGTH
Definition: wsnetbs.h:4
unsigned char UCHAR
Definition: xmlstorage.h:181
UCHAR IpxLana
Definition: precomp.h:70
AUTODIAL_CONN Connection
Definition: precomp.h:81
#define INTERNET_MAX_PATH_LENGTH
Definition: wininet.h:49
CHAR IpxNode[6]
Definition: precomp.h:59
CONNECTION_FAMILY Family
Definition: precomp.h:67
AUTODIAL_ADDR Address
Definition: precomp.h:79
WCHAR ConnectionName[32]
Definition: precomp.h:72
BOOL NewConnection
Definition: precomp.h:80
unsigned int ULONG
Definition: retypes.h:1
CHAR NetBiosMac[6]
Definition: precomp.h:73
CHAR NetBiosAddress[NETBIOS_NAME_LENGTH]
Definition: precomp.h:60
struct _AUTODIAL_CONN AUTODIAL_CONN
AUTODIAL_FAMILY
Definition: precomp.h:37