ReactOS 0.4.15-dev-7670-g69b08be
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
11typedef 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
struct _VD_HEADER * PVD_HEADER
struct _VD_HEADER VD_HEADER
Definition: iso.h:50
char Type
Definition: cdfs.h:13
char Identifier[5]
Definition: cdfs.h:14
char Version
Definition: cdfs.h:15