ReactOS  0.4.15-dev-506-ga3ec01c
d4iface.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define _DOT4_IFACE_H
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 #define DOT4_MAX_CHANNELS 128
10 #define NO_TIMEOUT 0
11 #define STREAM_TYPE_CHANNEL 1
12 #define PACKET_TYPE_CHANNEL 2
13 #define DOT4_STREAM_RECEIVED 0x100
14 #define DOT4_STREAM_CREDITS 0x101
15 #define DOT4_MESSAGE_RECEIVED 0x102
16 #define DOT4_DISCONNECT 0x103
17 #define DOT4_CHANNEL_CLOSED 0x105
18 #define DOT4_CHANNEL 0
19 #define HP_MESSAGE_PROCESSOR 1
20 #define PRINTER_CHANNEL 2
21 #define SCANNER_CHANNEL 4
22 #define MIO_COMMAND_PROCESSOR 5
23 #define ECHO_CHANNEL 6
24 #define FAX_SEND_CHANNEL 7
25 #define FAX_RECV_CHANNEL 8
26 #define DIAGNOSTIC_CHANNEL 9
27 #define HP_RESERVED 10
28 #define IMAGE_DOWNLOAD 11
29 #define HOST_DATASTORE_UPLOAD 12
30 #define HOST_DATASTORE_DOWNLOAD 13
31 #define CONFIG_UPLOAD 14
32 #define CONFIG_DOWNLOAD 15
33 
34 typedef unsigned long CHANNEL_HANDLE, *PCHANNEL_HANDLE;
35 
36 typedef struct _DOT4_ACTIVITY {
41 
42 #ifdef __cplusplus
43 }
44 #endif
ULONG ulByteCount
Definition: d4iface.h:38
ULONG ulMessage
Definition: d4iface.h:37
struct _DOT4_ACTIVITY * PDOT4_ACTIVITY
struct _DOT4_ACTIVITY DOT4_ACTIVITY
CHANNEL_HANDLE hChannel
Definition: d4iface.h:39
unsigned long CHANNEL_HANDLE
Definition: d4iface.h:34
unsigned long * PCHANNEL_HANDLE
Definition: d4iface.h:34
unsigned int ULONG
Definition: retypes.h:1