[DDK/XDK]
[reactos.git] / include / ddk / d4iface.h
1 #pragma once
2
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #define DOT4_MAX_CHANNELS 128
8 #define NO_TIMEOUT 0
9 #define STREAM_TYPE_CHANNEL 1
10 #define PACKET_TYPE_CHANNEL 2
11 #define DOT4_STREAM_RECEIVED 0x100
12 #define DOT4_STREAM_CREDITS 0x101
13 #define DOT4_MESSAGE_RECEIVED 0x102
14 #define DOT4_DISCONNECT 0x103
15 #define DOT4_CHANNEL_CLOSED 0x105
16 #define DOT4_CHANNEL 0
17 #define HP_MESSAGE_PROCESSOR 1
18 #define PRINTER_CHANNEL 2
19 #define SCANNER_CHANNEL 4
20 #define MIO_COMMAND_PROCESSOR 5
21 #define ECHO_CHANNEL 6
22 #define FAX_SEND_CHANNEL 7
23 #define FAX_RECV_CHANNEL 8
24 #define DIAGNOSTIC_CHANNEL 9
25 #define HP_RESERVED 10
26 #define IMAGE_DOWNLOAD 11
27 #define HOST_DATASTORE_UPLOAD 12
28 #define HOST_DATASTORE_DOWNLOAD 13
29 #define CONFIG_UPLOAD 14
30 #define CONFIG_DOWNLOAD 15
31
32 typedef unsigned long CHANNEL_HANDLE, *PCHANNEL_HANDLE;
33
34 typedef struct _DOT4_ACTIVITY {
35 ULONG ulMessage;
36 ULONG ulByteCount;
37 CHANNEL_HANDLE hChannel;
38 } DOT4_ACTIVITY, *PDOT4_ACTIVITY;
39
40 #ifdef __cplusplus
41 }
42 #endif