ReactOS  0.4.15-dev-3428-g0609db5
cdfs.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS File System Recognizer
3  * LICENSE: GPL-2.0 (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: CDFS Recognizer
5  * COPYRIGHT: Copyright 2017 Colin Finck <colin@reactos.org>
6  */
7 
8 // Information from http://wiki.osdev.org/ISO_9660#Volume_Descriptors
9 
10 // Structures
11 typedef struct _VD_HEADER
12 {
13  char Type;
14  char Identifier[5];
15  char Version;
16 }
18 
19 // Constants
20 #define VD_HEADER_OFFSET 32768 // Offset of the VD Header
21 #define VD_IDENTIFIER "CD001" // Identifier that must be in the Volume Descriptor
22 #define VD_IDENTIFIER_LENGTH 5 // Character count of VD_IDENTIFIER
23 #define VD_TYPE_PRIMARY 1 // Type code for Primary Volume Descriptor
24 #define VD_VERSION 1 // Volume Descriptor Version
char Version
Definition: cdfs.h:15
struct _VD_HEADER * PVD_HEADER
Definition: iso.h:49
char Type
Definition: cdfs.h:13
struct _VD_HEADER VD_HEADER
char Identifier[5]
Definition: cdfs.h:14