]> icculus.org git repositories - taylor/freespace2.git/blob - include/monopub.h
Initial revision
[taylor/freespace2.git] / include / monopub.h
1 /*++
2
3 Copyright (c) 1993  Microsoft Corporation
4
5 Module Name:
6
7     monopub.h
8
9 Abstract:
10
11     This module contains the PUBLIC (viewable by driver & Win32 apps)
12     definitions for the IOCTLs supported by the MONO device driver.
13
14 Environment:
15
16     Kernel & User mode
17
18 Revision History:
19
20     03-22-93 : created
21
22 --*/
23
24
25
26 //
27 // Define the various device type values.  Note that values used by Microsoft
28 // Corporation are in the range 0-32767, and 32768-65535 are reserved for use
29 // by customers.
30 //
31
32 #define FILE_DEVICE_MONO  0x00008100
33
34
35
36 //
37 // Macro definition for defining IOCTL and FSCTL function control codes.  Note
38 // that function codes 0-2047 are reserved for Microsoft Corporation, and
39 // 2048-4095 are reserved for customers.
40 //
41
42 #define MONO_IOCTL_INDEX  0x810
43
44
45
46 //
47 // The MONO device driver IOCTLs
48 //
49
50 #define IOCTL_MONO_PRINT          CTL_CODE(FILE_DEVICE_MONO,     \
51                                            MONO_IOCTL_INDEX,     \
52                                            METHOD_BUFFERED,      \
53                                            FILE_ANY_ACCESS)
54
55 #define IOCTL_MONO_CLEAR_SCREEN   CTL_CODE(FILE_DEVICE_MONO,     \
56                                            MONO_IOCTL_INDEX + 1, \
57                                            METHOD_BUFFERED,      \
58                                            FILE_ANY_ACCESS)
59