[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | #ifndef _NTDDMODM_
|
---|
| 8 | #define _NTDDMODM_
|
---|
| 9 |
|
---|
| 10 | #ifdef __cplusplus
|
---|
| 11 | extern "C" {
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
| 14 | #ifdef DEFINE_GUID
|
---|
| 15 | DEFINE_GUID(GUID_DEVINTERFACE_MODEM,0x2c7089aa,0x2e0e,0x11d1,0xb1,0x14,0x00,0xc0,0x4f,0xc2,0xaa,0xe4);
|
---|
| 16 | #define GUID_CLASS_MODEM GUID_DEVINTERFACE_MODEM /* GUID_CLASS_MODEM obsolete starting with Win2000. */
|
---|
| 17 | #endif
|
---|
| 18 |
|
---|
| 19 | #define IOCTL_MODEM_GET_PASSTHROUGH CTL_CODE(FILE_DEVICE_MODEM, 1,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 20 | #define IOCTL_MODEM_SET_PASSTHROUGH CTL_CODE(FILE_DEVICE_MODEM, 2,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 21 | #define IOCTL_MODEM_SET_DLE_MONITORING CTL_CODE(FILE_DEVICE_MODEM, 3,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 22 | #define IOCTL_MODEM_GET_DLE CTL_CODE(FILE_DEVICE_MODEM, 4,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 23 | #define IOCTL_MODEM_SET_DLE_SHIELDING CTL_CODE(FILE_DEVICE_MODEM, 5,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 24 | #define IOCTL_MODEM_STOP_WAVE_RECEIVE CTL_CODE(FILE_DEVICE_MODEM, 6,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 25 | #define IOCTL_MODEM_SEND_MESSAGE CTL_CODE(FILE_DEVICE_MODEM, 7,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 26 | #define IOCTL_MODEM_GET_MESSAGE CTL_CODE(FILE_DEVICE_MODEM, 8,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 27 | #define IOCTL_MODEM_SEND_GET_MESSAGE CTL_CODE(FILE_DEVICE_MODEM, 9,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 28 | #define IOCTL_MODEM_SEND_LOOPBACK_MESSAGE \
|
---|
| 29 | CTL_CODE(FILE_DEVICE_MODEM,10,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 30 | #define IOCTL_MODEM_CHECK_FOR_MODEM CTL_CODE(FILE_DEVICE_MODEM,11,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 31 | #define IOCTL_MODEM_SET_MIN_POWER CTL_CODE(FILE_DEVICE_MODEM,12,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 32 | #define IOCTL_MODEM_WATCH_FOR_RESUME CTL_CODE(FILE_DEVICE_MODEM,13,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 33 | #define IOCTL_CANCEL_GET_SEND_MESSAGE CTL_CODE(FILE_DEVICE_MODEM,14,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 34 | #define IOCTL_SET_SERVER_STATE CTL_CODE(FILE_DEVICE_MODEM,15,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
---|
| 35 |
|
---|
| 36 | #ifdef __cplusplus
|
---|
| 37 | }
|
---|
| 38 | #endif
|
---|
| 39 |
|
---|
| 40 | #endif /* _NTDDMODM_ */
|
---|
| 41 |
|
---|