Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

Devioctl.h File Reference

Go to the source code of this file.

Defines

#define DEVICE_TYPE   ULONG
#define FILE_DEVICE_BEEP   0x00000001
#define FILE_DEVICE_CD_ROM   0x00000002
#define FILE_DEVICE_CD_ROM_FILE_SYSTEM   0x00000003
#define FILE_DEVICE_CONTROLLER   0x00000004
#define FILE_DEVICE_DATALINK   0x00000005
#define FILE_DEVICE_DFS   0x00000006
#define FILE_DEVICE_DISK   0x00000007
#define FILE_DEVICE_DISK_FILE_SYSTEM   0x00000008
#define FILE_DEVICE_FILE_SYSTEM   0x00000009
#define FILE_DEVICE_INPORT_PORT   0x0000000a
#define FILE_DEVICE_KEYBOARD   0x0000000b
#define FILE_DEVICE_MAILSLOT   0x0000000c
#define FILE_DEVICE_MIDI_IN   0x0000000d
#define FILE_DEVICE_MIDI_OUT   0x0000000e
#define FILE_DEVICE_MOUSE   0x0000000f
#define FILE_DEVICE_MULTI_UNC_PROVIDER   0x00000010
#define FILE_DEVICE_NAMED_PIPE   0x00000011
#define FILE_DEVICE_NETWORK   0x00000012
#define FILE_DEVICE_NETWORK_BROWSER   0x00000013
#define FILE_DEVICE_NETWORK_FILE_SYSTEM   0x00000014
#define FILE_DEVICE_NULL   0x00000015
#define FILE_DEVICE_PARALLEL_PORT   0x00000016
#define FILE_DEVICE_PHYSICAL_NETCARD   0x00000017
#define FILE_DEVICE_PRINTER   0x00000018
#define FILE_DEVICE_SCANNER   0x00000019
#define FILE_DEVICE_SERIAL_MOUSE_PORT   0x0000001a
#define FILE_DEVICE_SERIAL_PORT   0x0000001b
#define FILE_DEVICE_SCREEN   0x0000001c
#define FILE_DEVICE_SOUND   0x0000001d
#define FILE_DEVICE_STREAMS   0x0000001e
#define FILE_DEVICE_TAPE   0x0000001f
#define FILE_DEVICE_TAPE_FILE_SYSTEM   0x00000020
#define FILE_DEVICE_TRANSPORT   0x00000021
#define FILE_DEVICE_UNKNOWN   0x00000022
#define FILE_DEVICE_VIDEO   0x00000023
#define FILE_DEVICE_VIRTUAL_DISK   0x00000024
#define FILE_DEVICE_WAVE_IN   0x00000025
#define FILE_DEVICE_WAVE_OUT   0x00000026
#define FILE_DEVICE_8042_PORT   0x00000027
#define FILE_DEVICE_NETWORK_REDIRECTOR   0x00000028
#define FILE_DEVICE_BATTERY   0x00000029
#define FILE_DEVICE_BUS_EXTENDER   0x0000002a
#define FILE_DEVICE_MODEM   0x0000002b
#define FILE_DEVICE_VDM   0x0000002c
#define FILE_DEVICE_MASS_STORAGE   0x0000002d
#define CTL_CODE(DeviceType, Function, Method, Access)
#define METHOD_BUFFERED   0
#define METHOD_IN_DIRECT   1
#define METHOD_OUT_DIRECT   2
#define METHOD_NEITHER   3
#define FILE_ANY_ACCESS   0
#define FILE_READ_ACCESS   ( 0x0001 )
#define FILE_WRITE_ACCESS   ( 0x0002 )


Define Documentation

#define CTL_CODE DeviceType,
Function,
Method,
Access   ) 
 

Value:

(                 \
    ((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \
)

Definition at line 88 of file Devioctl.h.

#define DEVICE_TYPE   ULONG
 

Definition at line 37 of file Devioctl.h.

#define FILE_ANY_ACCESS   0
 

Definition at line 106 of file Devioctl.h.

#define FILE_DEVICE_8042_PORT   0x00000027
 

Definition at line 76 of file Devioctl.h.

#define FILE_DEVICE_BATTERY   0x00000029
 

Definition at line 78 of file Devioctl.h.

#define FILE_DEVICE_BEEP   0x00000001
 

Definition at line 38 of file Devioctl.h.

#define FILE_DEVICE_BUS_EXTENDER   0x0000002a
 

Definition at line 79 of file Devioctl.h.

#define FILE_DEVICE_CD_ROM   0x00000002
 

Definition at line 39 of file Devioctl.h.

#define FILE_DEVICE_CD_ROM_FILE_SYSTEM   0x00000003
 

Definition at line 40 of file Devioctl.h.

#define FILE_DEVICE_CONTROLLER   0x00000004
 

Definition at line 41 of file Devioctl.h.

#define FILE_DEVICE_DATALINK   0x00000005
 

Definition at line 42 of file Devioctl.h.

#define FILE_DEVICE_DFS   0x00000006
 

Definition at line 43 of file Devioctl.h.

#define FILE_DEVICE_DISK   0x00000007
 

Definition at line 44 of file Devioctl.h.

#define FILE_DEVICE_DISK_FILE_SYSTEM   0x00000008
 

Definition at line 45 of file Devioctl.h.

#define FILE_DEVICE_FILE_SYSTEM   0x00000009
 

Definition at line 46 of file Devioctl.h.

#define FILE_DEVICE_INPORT_PORT   0x0000000a
 

Definition at line 47 of file Devioctl.h.

#define FILE_DEVICE_KEYBOARD   0x0000000b
 

Definition at line 48 of file Devioctl.h.

#define FILE_DEVICE_MAILSLOT   0x0000000c
 

Definition at line 49 of file Devioctl.h.

#define FILE_DEVICE_MASS_STORAGE   0x0000002d
 

Definition at line 82 of file Devioctl.h.

#define FILE_DEVICE_MIDI_IN   0x0000000d
 

Definition at line 50 of file Devioctl.h.

#define FILE_DEVICE_MIDI_OUT   0x0000000e
 

Definition at line 51 of file Devioctl.h.

#define FILE_DEVICE_MODEM   0x0000002b
 

Definition at line 80 of file Devioctl.h.

#define FILE_DEVICE_MOUSE   0x0000000f
 

Definition at line 52 of file Devioctl.h.

#define FILE_DEVICE_MULTI_UNC_PROVIDER   0x00000010
 

Definition at line 53 of file Devioctl.h.

#define FILE_DEVICE_NAMED_PIPE   0x00000011
 

Definition at line 54 of file Devioctl.h.

#define FILE_DEVICE_NETWORK   0x00000012
 

Definition at line 55 of file Devioctl.h.

#define FILE_DEVICE_NETWORK_BROWSER   0x00000013
 

Definition at line 56 of file Devioctl.h.

#define FILE_DEVICE_NETWORK_FILE_SYSTEM   0x00000014
 

Definition at line 57 of file Devioctl.h.

#define FILE_DEVICE_NETWORK_REDIRECTOR   0x00000028
 

Definition at line 77 of file Devioctl.h.

#define FILE_DEVICE_NULL   0x00000015
 

Definition at line 58 of file Devioctl.h.

#define FILE_DEVICE_PARALLEL_PORT   0x00000016
 

Definition at line 59 of file Devioctl.h.

#define FILE_DEVICE_PHYSICAL_NETCARD   0x00000017
 

Definition at line 60 of file Devioctl.h.

#define FILE_DEVICE_PRINTER   0x00000018
 

Definition at line 61 of file Devioctl.h.

#define FILE_DEVICE_SCANNER   0x00000019
 

Definition at line 62 of file Devioctl.h.

#define FILE_DEVICE_SCREEN   0x0000001c
 

Definition at line 65 of file Devioctl.h.

#define FILE_DEVICE_SERIAL_MOUSE_PORT   0x0000001a
 

Definition at line 63 of file Devioctl.h.

#define FILE_DEVICE_SERIAL_PORT   0x0000001b
 

Definition at line 64 of file Devioctl.h.

#define FILE_DEVICE_SOUND   0x0000001d
 

Definition at line 66 of file Devioctl.h.

#define FILE_DEVICE_STREAMS   0x0000001e
 

Definition at line 67 of file Devioctl.h.

#define FILE_DEVICE_TAPE   0x0000001f
 

Definition at line 68 of file Devioctl.h.

#define FILE_DEVICE_TAPE_FILE_SYSTEM   0x00000020
 

Definition at line 69 of file Devioctl.h.

#define FILE_DEVICE_TRANSPORT   0x00000021
 

Definition at line 70 of file Devioctl.h.

#define FILE_DEVICE_UNKNOWN   0x00000022
 

Definition at line 71 of file Devioctl.h.

#define FILE_DEVICE_VDM   0x0000002c
 

Definition at line 81 of file Devioctl.h.

#define FILE_DEVICE_VIDEO   0x00000023
 

Definition at line 72 of file Devioctl.h.

#define FILE_DEVICE_VIRTUAL_DISK   0x00000024
 

Definition at line 73 of file Devioctl.h.

#define FILE_DEVICE_WAVE_IN   0x00000025
 

Definition at line 74 of file Devioctl.h.

#define FILE_DEVICE_WAVE_OUT   0x00000026
 

Definition at line 75 of file Devioctl.h.

#define FILE_READ_ACCESS   ( 0x0001 )
 

Definition at line 107 of file Devioctl.h.

#define FILE_WRITE_ACCESS   ( 0x0002 )
 

Definition at line 108 of file Devioctl.h.

#define METHOD_BUFFERED   0
 

Definition at line 94 of file Devioctl.h.

#define METHOD_IN_DIRECT   1
 

Definition at line 95 of file Devioctl.h.

#define METHOD_NEITHER   3
 

Definition at line 97 of file Devioctl.h.

#define METHOD_OUT_DIRECT   2
 

Definition at line 96 of file Devioctl.h.


Generated on Sun May 14 14:51:27 2006 by  doxygen 1.4.2