source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ddk/d4iface.h@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1017 bytes
Line 
1#pragma once
2
3#define _DOT4_IFACE_H
4
5#ifdef __cplusplus
6extern "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
34typedef ULONG CHANNEL_HANDLE, *PCHANNEL_HANDLE;
35
36typedef struct _DOT4_ACTIVITY {
37 ULONG ulMessage;
38 ULONG ulByteCount;
39 CHANNEL_HANDLE hChannel;
40} DOT4_ACTIVITY, *PDOT4_ACTIVITY;
41
42#ifdef __cplusplus
43}
44#endif
45
Note: See TracBrowser for help on using the repository browser.