ReactOS 0.4.15-dev-8222-g9164419
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
37typedef enum
38{
44
45typedef enum
46{
52
53typedef struct _AUTODIAL_ADDR
54{
56 union
57 {
62 };
64
65typedef struct _AUTODIAL_CONN
66{
68 union
69 {
74 };
76
77typedef struct _AUTODIAL_COMMAND
78{
83
87 IN PAUTODIAL_ADDR ConnectionAddress,
88 IN PAUTODIAL_CONN Connection
89);
90
94 IN PAUTODIAL_ADDR ConnectionAddress
95);
96
97#endif /* _RASADHLP_H */
unsigned char BOOLEAN
CONNECTION_FAMILY
Definition: precomp.h:46
@ ConnectionIp
Definition: precomp.h:48
@ ConnectionNetBiosMac
Definition: precomp.h:50
@ ConnectionIpxLana
Definition: precomp.h:47
@ ConnectionIpHost
Definition: precomp.h:49
struct _AUTODIAL_CONN AUTODIAL_CONN
struct _AUTODIAL_ADDR * PAUTODIAL_ADDR
BOOLEAN WINAPI AcsHlpAttemptConnection(IN PAUTODIAL_ADDR ConnectionAddress)
Definition: autodial.c:89
struct _AUTODIAL_CONN * PAUTODIAL_CONN
struct _AUTODIAL_COMMAND AUTODIAL_COMMAND
AUTODIAL_FAMILY
Definition: precomp.h:38
@ AutoDialIpx
Definition: precomp.h:40
@ AutoDialIpHost
Definition: precomp.h:42
@ AutoDialNetBios
Definition: precomp.h:41
@ AutoDialIp
Definition: precomp.h:39
BOOLEAN WINAPI AcsHlpNoteNewConnection(IN PAUTODIAL_ADDR ConnectionAddress, IN PAUTODIAL_CONN Connection)
Definition: autodial.c:108
struct _AUTODIAL_COMMAND * PAUTODIAL_COMMAND
struct _AUTODIAL_ADDR AUTODIAL_ADDR
unsigned int BOOL
Definition: ntddk_ex.h:94
CHAR HostName[INTERNET_MAX_PATH_LENGTH]
Definition: precomp.h:61
CHAR IpxNode[6]
Definition: precomp.h:59
IN_ADDR Ip4Address
Definition: precomp.h:58
CHAR NetBiosAddress[NETBIOS_NAME_LENGTH]
Definition: precomp.h:60
AUTODIAL_FAMILY Family
Definition: precomp.h:55
AUTODIAL_ADDR Address
Definition: precomp.h:79
BOOL NewConnection
Definition: precomp.h:80
AUTODIAL_CONN Connection
Definition: precomp.h:81
ULONG Ip4Address
Definition: precomp.h:71
UCHAR IpxLana
Definition: precomp.h:70
CHAR NetBiosMac[6]
Definition: precomp.h:73
CONNECTION_FAMILY Family
Definition: precomp.h:67
WCHAR ConnectionName[32]
Definition: precomp.h:72
Definition: tcpip.h:126
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6
#define INTERNET_MAX_PATH_LENGTH
Definition: wininet.h:49
#define NETBIOS_NAME_LENGTH
Definition: wsnetbs.h:4
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180
char CHAR
Definition: xmlstorage.h:175