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:
1.0 KB
|
Rev | Line | |
---|
[1166] | 1 | /*
|
---|
| 2 | * usbprint.h
|
---|
| 3 | *
|
---|
| 4 | * This file is part of the mingw-w64 runtime package.
|
---|
| 5 | * No warranty is given; refer to the file DISCLAIMER within this package.
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #include <winapifamily.h>
|
---|
| 9 |
|
---|
| 10 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
---|
| 11 | #define USBPRINT_IOCTL_INDEX 0x0000
|
---|
| 12 | #define IOCTL_USBPRINT_GET_LPT_STATUS CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+12, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
---|
| 13 | #define IOCTL_USBPRINT_GET_1284_ID CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+13, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
---|
| 14 | #define IOCTL_USBPRINT_VENDOR_SET_COMMAND CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+14, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
---|
| 15 | #define IOCTL_USBPRINT_VENDOR_GET_COMMAND CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+15, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
---|
| 16 | #define IOCTL_USBPRINT_SOFT_RESET CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+16, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
---|
| 17 |
|
---|
| 18 | DEFINE_GUID (GUID_DEVINTERFACE_USBPRINT, 0x28d78fad, 0x5a12, 0x11d1, 0xae, 0x5b, 0x0, 0x0, 0xf8, 0x3, 0xa8, 0xc2);
|
---|
| 19 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.