ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

devioctl.h
Go to the documentation of this file.
00001 /*
00002  * devioctl.h
00003  *
00004  * IOCTL definitions
00005  *
00006  * This file is part of the ReactOS PSDK package.
00007  *
00008  * Contributors:
00009  *   Amine Khaldi
00010  *   Timo Kreuzer (timo.kreuzer@reactos.org)
00011  *
00012  * THIS SOFTWARE IS NOT COPYRIGHTED
00013  *
00014  * This source code is offered for use in the public domain. You may
00015  * use, modify or distribute it freely.
00016  *
00017  * This code is distributed in the hope that it will be useful but
00018  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
00019  * DISCLAIMED. This includes but is not limited to warranties of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00021  *
00022  */
00023 #pragma once
00024 
00025 #ifndef _DEVIOCTL_
00026 #define _DEVIOCTL_
00027 
00028 
00029 #define FILE_DEVICE_BEEP                  0x00000001
00030 #define FILE_DEVICE_CD_ROM                0x00000002
00031 #define FILE_DEVICE_CD_ROM_FILE_SYSTEM    0x00000003
00032 #define FILE_DEVICE_CONTROLLER            0x00000004
00033 #define FILE_DEVICE_DATALINK              0x00000005
00034 #define FILE_DEVICE_DFS                   0x00000006
00035 #define FILE_DEVICE_DISK                  0x00000007
00036 #define FILE_DEVICE_DISK_FILE_SYSTEM      0x00000008
00037 #define FILE_DEVICE_FILE_SYSTEM           0x00000009
00038 #define FILE_DEVICE_INPORT_PORT           0x0000000a
00039 #define FILE_DEVICE_KEYBOARD              0x0000000b
00040 #define FILE_DEVICE_MAILSLOT              0x0000000c
00041 #define FILE_DEVICE_MIDI_IN               0x0000000d
00042 #define FILE_DEVICE_MIDI_OUT              0x0000000e
00043 #define FILE_DEVICE_MOUSE                 0x0000000f
00044 #define FILE_DEVICE_MULTI_UNC_PROVIDER    0x00000010
00045 #define FILE_DEVICE_NAMED_PIPE            0x00000011
00046 #define FILE_DEVICE_NETWORK               0x00000012
00047 #define FILE_DEVICE_NETWORK_BROWSER       0x00000013
00048 #define FILE_DEVICE_NETWORK_FILE_SYSTEM   0x00000014
00049 #define FILE_DEVICE_NULL                  0x00000015
00050 #define FILE_DEVICE_PARALLEL_PORT         0x00000016
00051 #define FILE_DEVICE_PHYSICAL_NETCARD      0x00000017
00052 #define FILE_DEVICE_PRINTER               0x00000018
00053 #define FILE_DEVICE_SCANNER               0x00000019
00054 #define FILE_DEVICE_SERIAL_MOUSE_PORT     0x0000001a
00055 #define FILE_DEVICE_SERIAL_PORT           0x0000001b
00056 #define FILE_DEVICE_SCREEN                0x0000001c
00057 #define FILE_DEVICE_SOUND                 0x0000001d
00058 #define FILE_DEVICE_STREAMS               0x0000001e
00059 #define FILE_DEVICE_TAPE                  0x0000001f
00060 #define FILE_DEVICE_TAPE_FILE_SYSTEM      0x00000020
00061 #define FILE_DEVICE_TRANSPORT             0x00000021
00062 #define FILE_DEVICE_UNKNOWN               0x00000022
00063 #define FILE_DEVICE_VIDEO                 0x00000023
00064 #define FILE_DEVICE_VIRTUAL_DISK          0x00000024
00065 #define FILE_DEVICE_WAVE_IN               0x00000025
00066 #define FILE_DEVICE_WAVE_OUT              0x00000026
00067 #define FILE_DEVICE_8042_PORT             0x00000027
00068 #define FILE_DEVICE_NETWORK_REDIRECTOR    0x00000028
00069 #define FILE_DEVICE_BATTERY               0x00000029
00070 #define FILE_DEVICE_BUS_EXTENDER          0x0000002a
00071 #define FILE_DEVICE_MODEM                 0x0000002b
00072 #define FILE_DEVICE_VDM                   0x0000002c
00073 #define FILE_DEVICE_MASS_STORAGE          0x0000002d
00074 #define FILE_DEVICE_SMB                   0x0000002e
00075 #define FILE_DEVICE_KS                    0x0000002f
00076 #define FILE_DEVICE_CHANGER               0x00000030
00077 #define FILE_DEVICE_SMARTCARD             0x00000031
00078 #define FILE_DEVICE_ACPI                  0x00000032
00079 #define FILE_DEVICE_DVD                   0x00000033
00080 #define FILE_DEVICE_FULLSCREEN_VIDEO      0x00000034
00081 #define FILE_DEVICE_DFS_FILE_SYSTEM       0x00000035
00082 #define FILE_DEVICE_DFS_VOLUME            0x00000036
00083 #define FILE_DEVICE_SERENUM               0x00000037
00084 #define FILE_DEVICE_TERMSRV               0x00000038
00085 #define FILE_DEVICE_KSEC                  0x00000039
00086 #define FILE_DEVICE_FIPS                  0x0000003A
00087 #define FILE_DEVICE_INFINIBAND            0x0000003B
00088 #define FILE_DEVICE_VMBUS                 0x0000003E
00089 #define FILE_DEVICE_CRYPT_PROVIDER        0x0000003F
00090 #define FILE_DEVICE_WPD                   0x00000040
00091 #define FILE_DEVICE_BLUETOOTH             0x00000041
00092 #define FILE_DEVICE_MT_COMPOSITE          0x00000042
00093 #define FILE_DEVICE_MT_TRANSPORT          0x00000043
00094 #define FILE_DEVICE_BIOMETRIC             0x00000044
00095 #define FILE_DEVICE_PMI                   0x00000045
00096 
00097 /* DEVICE_OBJECT.DeviceType */
00098 #define DEVICE_TYPE ULONG
00099 
00100 #define CTL_CODE(DeviceType, Function, Method, Access) \
00101   (((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method))
00102 
00103 #define DEVICE_TYPE_FROM_CTL_CODE(ctl) (((ULONG) (ctl & 0xffff0000)) >> 16)
00104 
00105 #define METHOD_FROM_CTL_CODE(ctrlCode)          ((ULONG)(ctrlCode & 3))
00106 
00107 #define METHOD_BUFFERED                   0
00108 #define METHOD_IN_DIRECT                  1
00109 #define METHOD_OUT_DIRECT                 2
00110 #define METHOD_NEITHER                    3
00111 
00112 #define METHOD_DIRECT_TO_HARDWARE       METHOD_IN_DIRECT
00113 #define METHOD_DIRECT_FROM_HARDWARE     METHOD_OUT_DIRECT
00114 
00115 #define FILE_ANY_ACCESS                   0x00000000
00116 #define FILE_SPECIAL_ACCESS               FILE_ANY_ACCESS
00117 #define FILE_READ_ACCESS                  0x00000001
00118 #define FILE_WRITE_ACCESS                 0x00000002
00119 
00120 
00121 #endif /*_DEVIOCTL_ */

Generated on Sun May 27 2012 04:31:22 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.