|
Last change
on this file since 1201 was 1166, checked in by rossy, 4 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
|
|---|
| 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 ULONG CHANNEL_HANDLE, *PCHANNEL_HANDLE;
|
|---|
| 35 |
|
|---|
| 36 | typedef 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.