ReactOS 0.4.15-dev-5666-gc548b97
vfdtypes.h
Go to the documentation of this file.
1/*
2 vfdtypes.h
3
4 Virtual Floppy Drive for Windows
5 kernel mode / user mode common data types / constants
6
7 Copyright (C) 2003-2005 Ken Kato
8*/
9
10#ifndef _VFDTYPES_H_
11#define _VFDTYPES_H_
12
13//
14// Supported disk type enumeration
15//
17{
18 VFD_DISKTYPE_FILE = 0, // file disk (direct file access)
19 VFD_DISKTYPE_RAM // ram disk (on memory image)
20};
21
22//
23// Supported media type enumeration
24//
26{
27 VFD_MEDIA_NONE = 0, // no media / unknown
28 VFD_MEDIA_F5_160, // 5.25" 160KB
29 VFD_MEDIA_F5_180, // 5.25" 180KB
30 VFD_MEDIA_F5_320, // 5.25" 320KB
31 VFD_MEDIA_F5_360, // 5.25" 360KB
32 VFD_MEDIA_F3_640, // 3.5" 640KB
33 VFD_MEDIA_F5_640, // 5.25" 640KB
34 VFD_MEDIA_F3_720, // 3.5" 720KB
35 VFD_MEDIA_F5_720, // 5.25" 720KB
36 VFD_MEDIA_F3_820, // 3.5" 820KB
37 VFD_MEDIA_F3_1P2, // 3.5" 1.2MB
38 VFD_MEDIA_F5_1P2, // 5.25" 1.2MB
39 VFD_MEDIA_F3_1P4, // 3.5" 1.44MB
40 VFD_MEDIA_F3_1P6, // 3.5" 1.68MB DMF
41 VFD_MEDIA_F3_1P7, // 3.5" 1.72MB DMF
42 VFD_MEDIA_F3_2P8, // 3.5" 2.88MB
43 VFD_MEDIA_MAX // max value placeholder
44};
45
46//
47// Supported file type enumeration
48//
50{
51 VFD_FILETYPE_NONE = 0, // no file
52 VFD_FILETYPE_RAW, // RAW image file
53 VFD_FILETYPE_ZIP, // ZIP compressed image
54 VFD_FILETYPE_MAX // max value place holder
55};
56
57//
58// Type definition
59//
64
65//
66// Image flag values
67//
68#define VFD_FLAG_WRITE_PROTECTED (VFD_FLAGS)0x01
69#define VFD_FLAG_DATA_MODIFIED (VFD_FLAGS)0x02
70
71//
72// Default and max number of virtual floppy devices
73//
74#define VFD_DEFAULT_DEVICES 2
75#define VFD_MAXIMUM_DEVICES 2
76
77#endif // _VFDTYPES_H_
UCHAR VFD_FILETYPE
Definition: vfdtypes.h:62
UCHAR VFD_MEDIA
Definition: vfdtypes.h:61
UCHAR VFD_DISKTYPE
Definition: vfdtypes.h:60
_VFD_MEDIA
Definition: vfdtypes.h:26
@ VFD_MEDIA_F3_820
Definition: vfdtypes.h:36
@ VFD_MEDIA_NONE
Definition: vfdtypes.h:27
@ VFD_MEDIA_F3_640
Definition: vfdtypes.h:32
@ VFD_MEDIA_MAX
Definition: vfdtypes.h:43
@ VFD_MEDIA_F3_1P6
Definition: vfdtypes.h:40
@ VFD_MEDIA_F5_180
Definition: vfdtypes.h:29
@ VFD_MEDIA_F5_1P2
Definition: vfdtypes.h:38
@ VFD_MEDIA_F5_720
Definition: vfdtypes.h:35
@ VFD_MEDIA_F3_1P4
Definition: vfdtypes.h:39
@ VFD_MEDIA_F5_320
Definition: vfdtypes.h:30
@ VFD_MEDIA_F3_720
Definition: vfdtypes.h:34
@ VFD_MEDIA_F3_2P8
Definition: vfdtypes.h:42
@ VFD_MEDIA_F3_1P2
Definition: vfdtypes.h:37
@ VFD_MEDIA_F5_640
Definition: vfdtypes.h:33
@ VFD_MEDIA_F5_160
Definition: vfdtypes.h:28
@ VFD_MEDIA_F3_1P7
Definition: vfdtypes.h:41
@ VFD_MEDIA_F5_360
Definition: vfdtypes.h:31
_VFD_DISKTYPE
Definition: vfdtypes.h:17
@ VFD_DISKTYPE_FILE
Definition: vfdtypes.h:18
@ VFD_DISKTYPE_RAM
Definition: vfdtypes.h:19
UCHAR * PVFD_FILETYPE
Definition: vfdtypes.h:62
UCHAR * PVFD_FLAGS
Definition: vfdtypes.h:63
_VFD_FILETYPE
Definition: vfdtypes.h:50
@ VFD_FILETYPE_MAX
Definition: vfdtypes.h:54
@ VFD_FILETYPE_NONE
Definition: vfdtypes.h:51
@ VFD_FILETYPE_RAW
Definition: vfdtypes.h:52
@ VFD_FILETYPE_ZIP
Definition: vfdtypes.h:53
UCHAR * PVFD_DISKTYPE
Definition: vfdtypes.h:60
UCHAR VFD_FLAGS
Definition: vfdtypes.h:63
UCHAR * PVFD_MEDIA
Definition: vfdtypes.h:61
unsigned char UCHAR
Definition: xmlstorage.h:181