Mercurial > games > semicongine
comparison fuhtark_test/include/ddk/d4iface.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 #ifndef _DOT4_IFACE_H | |
| 2 #define _DOT4_IFACE_H | |
| 3 | |
| 4 #ifdef __cplusplus | |
| 5 extern "C" { | |
| 6 #endif | |
| 7 | |
| 8 typedef unsigned long CHANNEL_HANDLE; | |
| 9 typedef CHANNEL_HANDLE *PCHANNEL_HANDLE; | |
| 10 | |
| 11 typedef struct _DOT4_ACTIVITY | |
| 12 { | |
| 13 ULONG ulMessage; | |
| 14 ULONG ulByteCount; | |
| 15 CHANNEL_HANDLE hChannel; | |
| 16 } DOT4_ACTIVITY, *PDOT4_ACTIVITY; | |
| 17 | |
| 18 #define DOT4_MAX_CHANNELS 128 | |
| 19 #define NO_TIMEOUT 0 | |
| 20 #define STREAM_TYPE_CHANNEL 1 | |
| 21 #define PACKET_TYPE_CHANNEL 2 | |
| 22 #define DOT4_STREAM_RECEIVED 0x100 | |
| 23 #define DOT4_STREAM_CREDITS 0x101 | |
| 24 #define DOT4_MESSAGE_RECEIVED 0x102 | |
| 25 #define DOT4_DISCONNECT 0x103 | |
| 26 #define DOT4_CHANNEL_CLOSED 0x105 | |
| 27 #define DOT4_CHANNEL 0 | |
| 28 #define HP_MESSAGE_PROCESSOR 1 | |
| 29 #define PRINTER_CHANNEL 2 | |
| 30 #define SCANNER_CHANNEL 4 | |
| 31 #define MIO_COMMAND_PROCESSOR 5 | |
| 32 #define ECHO_CHANNEL 6 | |
| 33 #define FAX_SEND_CHANNEL 7 | |
| 34 #define FAX_RECV_CHANNEL 8 | |
| 35 #define DIAGNOSTIC_CHANNEL 9 | |
| 36 #define HP_RESERVED 10 | |
| 37 #define IMAGE_DOWNLOAD 11 | |
| 38 #define HOST_DATASTORE_UPLOAD 12 | |
| 39 #define HOST_DATASTORE_DOWNLOAD 13 | |
| 40 #define CONFIG_UPLOAD 14 | |
| 41 #define CONFIG_DOWNLOAD 15 | |
| 42 | |
| 43 #ifdef __cplusplus | |
| 44 } | |
| 45 #endif | |
| 46 #endif | |
| 47 |
