MONOPUB.H 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /*++
  19. Copyright (c) 1993 Microsoft Corporation
  20. Module Name:
  21. monopub.h
  22. Abstract:
  23. This module contains the PUBLIC (viewable by driver & Win32 apps)
  24. definitions for the IOCTLs supported by the MONO device driver.
  25. Environment:
  26. Kernel & User mode
  27. Revision History:
  28. 03-22-93 : created
  29. --*/
  30. //
  31. // Define the various device type values. Note that values used by Microsoft
  32. // Corporation are in the range 0-32767, and 32768-65535 are reserved for use
  33. // by customers.
  34. //
  35. #define FILE_DEVICE_MONO 0x00008000
  36. //
  37. // The MONO device driver IOCTLs
  38. //
  39. #define IOCTL_MONO_CLEAR_SCREEN CTL_CODE(FILE_DEVICE_MONO, 0x801, METHOD_BUFFERED, FILE_WRITE_DATA)
  40. #define IOCTL_MONO_PRINT_RAW CTL_CODE(FILE_DEVICE_MONO, 0x800, METHOD_BUFFERED, FILE_WRITE_DATA)
  41. #define IOCTL_MONO_SET_CURSOR CTL_CODE(FILE_DEVICE_MONO, 0x802, METHOD_BUFFERED, FILE_WRITE_DATA)
  42. #define IOCTL_MONO_SCROLL CTL_CODE(FILE_DEVICE_MONO, 0x803, METHOD_BUFFERED, FILE_WRITE_DATA)
  43. #define IOCTL_MONO_BRING_TO_TOP CTL_CODE(FILE_DEVICE_MONO, 0x804, METHOD_BUFFERED, FILE_WRITE_DATA)
  44. #define IOCTL_MONO_SET_ATTRIBUTE CTL_CODE(FILE_DEVICE_MONO, 0x805, METHOD_BUFFERED, FILE_WRITE_DATA)
  45. #define IOCTL_MONO_PAN CTL_CODE(FILE_DEVICE_MONO, 0x806, METHOD_BUFFERED, FILE_WRITE_DATA)
  46. #define IOCTL_MONO_LOCK CTL_CODE(FILE_DEVICE_MONO, 0x807, METHOD_BUFFERED, FILE_WRITE_DATA)
  47. #define IOCTL_MONO_UNLOCK CTL_CODE(FILE_DEVICE_MONO, 0x808, METHOD_BUFFERED, FILE_WRITE_DATA)
  48. #define IOCTL_MONO_SET_POS CTL_CODE(FILE_DEVICE_MONO, 0x809, METHOD_BUFFERED, FILE_WRITE_DATA)