ReactOS  0.4.12-dev-919-gfc3b8d5
vfdio.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _VFD_IMAGE_INFO
 

Macros

#define __T(x)   x
 
#define _T(x)   __T(x)
 
#define VFD_REG_DEVICE_NUMBER   _T("NumberOfDisks")
 
#define VFD_REG_TRACE_FLAGS   _T("TraceFlags")
 
#define VFD_REG_DRIVE_LETTER   _T("DriveLetter")
 
#define VFD_DEVICE_BASENAME   _T("VirtualFD")
 
#define VFD_BYTES_PER_SECTOR   512
 
#define VFD_SECTOR_ALIGN_MASK   (VFD_BYTES_PER_SECTOR - 1)
 
#define VFD_BYTE_SHIFT_COUNT   9
 
#define VFD_BYTE_TO_SECTOR(b)   ((b) >> VFD_BYTE_SHIFT_COUNT)
 
#define VFD_SECTOR_TO_BYTE(s)   ((s) << VFD_BYTE_SHIFT_COUNT)
 
#define VFD_SECTOR_ALIGNED(b)   (((b) & VFD_SECTOR_ALIGN_MASK) == 0)
 
#define VFD_FORMAT_FILL_DATA   (UCHAR)0xf6
 
#define IOCTL_VFD_OPEN_IMAGE
 
#define IOCTL_VFD_CLOSE_IMAGE
 
#define IOCTL_VFD_QUERY_IMAGE
 
#define IOCTL_VFD_SET_LINK
 
#define IOCTL_VFD_QUERY_LINK
 
#define IOCTL_VFD_SET_PROTECT
 
#define IOCTL_VFD_CLEAR_PROTECT
 
#define IOCTL_VFD_RESET_MODIFY
 
#define IOCTL_VFD_QUERY_NUMBER
 
#define IOCTL_VFD_QUERY_NAME
 
#define IOCTL_VFD_QUERY_VERSION
 

Typedefs

typedef struct _VFD_IMAGE_INFO VFD_IMAGE_INFO
 
typedef struct _VFD_IMAGE_INFOPVFD_IMAGE_INFO
 

Macro Definition Documentation

◆ __T

#define __T (   x)    x

Definition at line 17 of file vfdio.h.

◆ _T

#define _T (   x)    __T(x)

Definition at line 22 of file vfdio.h.

◆ IOCTL_VFD_CLEAR_PROTECT

#define IOCTL_VFD_CLEAR_PROTECT
Value:
0x806, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define METHOD_NEITHER
Definition: nt_native.h:597
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define FILE_WRITE_ACCESS
Definition: nt_native.h:611

Definition at line 273 of file vfdio.h.

◆ IOCTL_VFD_CLOSE_IMAGE

#define IOCTL_VFD_CLOSE_IMAGE
Value:
0x801, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define METHOD_NEITHER
Definition: nt_native.h:597
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define FILE_WRITE_ACCESS
Definition: nt_native.h:611

Definition at line 133 of file vfdio.h.

◆ IOCTL_VFD_OPEN_IMAGE

#define IOCTL_VFD_OPEN_IMAGE
Value:
0x800, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594
#define FILE_WRITE_ACCESS
Definition: nt_native.h:611

Definition at line 107 of file vfdio.h.

◆ IOCTL_VFD_QUERY_IMAGE

#define IOCTL_VFD_QUERY_IMAGE
Value:
0x802, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594

Definition at line 163 of file vfdio.h.

◆ IOCTL_VFD_QUERY_LINK

#define IOCTL_VFD_QUERY_LINK
Value:
0x804, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594

Definition at line 221 of file vfdio.h.

◆ IOCTL_VFD_QUERY_NAME

#define IOCTL_VFD_QUERY_NAME
Value:
0x80e, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594

Definition at line 358 of file vfdio.h.

◆ IOCTL_VFD_QUERY_NUMBER

#define IOCTL_VFD_QUERY_NUMBER
Value:
0x80d, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594

Definition at line 325 of file vfdio.h.

◆ IOCTL_VFD_QUERY_VERSION

#define IOCTL_VFD_QUERY_VERSION
Value:
0x80f, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594

Definition at line 387 of file vfdio.h.

◆ IOCTL_VFD_RESET_MODIFY

#define IOCTL_VFD_RESET_MODIFY
Value:
0x807, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define METHOD_NEITHER
Definition: nt_native.h:597
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define FILE_WRITE_ACCESS
Definition: nt_native.h:611

Definition at line 299 of file vfdio.h.

◆ IOCTL_VFD_SET_LINK

#define IOCTL_VFD_SET_LINK
Value:
0x803, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define METHOD_BUFFERED
Definition: nt_native.h:594
#define FILE_WRITE_ACCESS
Definition: nt_native.h:611

Definition at line 194 of file vfdio.h.

◆ IOCTL_VFD_SET_PROTECT

#define IOCTL_VFD_SET_PROTECT
Value:
0x805, \
#define FILE_READ_ACCESS
Definition: nt_native.h:610
#define IOCTL_DISK_BASE
Definition: ntdddisk.h:44
#define METHOD_NEITHER
Definition: nt_native.h:597
#define CTL_CODE(DeviceType, Function, Method, Access)
Definition: nt_native.h:586
#define FILE_WRITE_ACCESS
Definition: nt_native.h:611

Definition at line 247 of file vfdio.h.

◆ VFD_BYTE_SHIFT_COUNT

#define VFD_BYTE_SHIFT_COUNT   9

Definition at line 42 of file vfdio.h.

◆ VFD_BYTE_TO_SECTOR

#define VFD_BYTE_TO_SECTOR (   b)    ((b) >> VFD_BYTE_SHIFT_COUNT)

Definition at line 44 of file vfdio.h.

◆ VFD_BYTES_PER_SECTOR

#define VFD_BYTES_PER_SECTOR   512

Definition at line 40 of file vfdio.h.

◆ VFD_DEVICE_BASENAME

#define VFD_DEVICE_BASENAME   _T("VirtualFD")

Definition at line 35 of file vfdio.h.

◆ VFD_FORMAT_FILL_DATA

#define VFD_FORMAT_FILL_DATA   (UCHAR)0xf6

Definition at line 51 of file vfdio.h.

◆ VFD_REG_DEVICE_NUMBER

#define VFD_REG_DEVICE_NUMBER   _T("NumberOfDisks")

Definition at line 28 of file vfdio.h.

◆ VFD_REG_DRIVE_LETTER

#define VFD_REG_DRIVE_LETTER   _T("DriveLetter")

Definition at line 30 of file vfdio.h.

◆ VFD_REG_TRACE_FLAGS

#define VFD_REG_TRACE_FLAGS   _T("TraceFlags")

Definition at line 29 of file vfdio.h.

◆ VFD_SECTOR_ALIGN_MASK

#define VFD_SECTOR_ALIGN_MASK   (VFD_BYTES_PER_SECTOR - 1)

Definition at line 41 of file vfdio.h.

◆ VFD_SECTOR_ALIGNED

#define VFD_SECTOR_ALIGNED (   b)    (((b) & VFD_SECTOR_ALIGN_MASK) == 0)

Definition at line 46 of file vfdio.h.

◆ VFD_SECTOR_TO_BYTE

#define VFD_SECTOR_TO_BYTE (   s)    ((s) << VFD_BYTE_SHIFT_COUNT)

Definition at line 45 of file vfdio.h.

Typedef Documentation

◆ PVFD_IMAGE_INFO

◆ VFD_IMAGE_INFO