ReactOS 0.4.16-dev-455-g37b0646
iso.h
Go to the documentation of this file.
1/*
2 * FreeLoader
3 * Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20#pragma once
21
22#include <pshpack1.h>
23typedef struct _DIR_RECORD
24{
31 UCHAR Year; // 19
32 UCHAR Month; // 20
33 UCHAR Day; // 21
34 UCHAR Hour; // 22
43 UCHAR FileId[1]; // 34
45
46
47/* Volume Descriptor header */
48typedef struct _VD_HEADER
49{
51 UCHAR StandardId[5]; // 2-6
54
55
56/*
57 * Primary Volume Descriptor
58 * See also cdfs/cd.h RAW_ISO_VD
59 */
60typedef struct _PVD
61{
63 UCHAR StandardId[5]; // 2-6
66 UCHAR SystemId[32]; // 9-40
67 UCHAR VolumeId[32]; // 41-72
68 UCHAR unused1[8]; // 73-80
71 UCHAR unused2[32]; // 89-120
80 ULONG LPathTablePos; // 141-144
82 ULONG MPathTablePos; // 149-152
85 UCHAR VolumeSetIdentifier[128]; // 191-318
86 UCHAR PublisherIdentifier[128]; // 319-446
87
88 /* more data ... */
90#include <poppack.h>
91
92
93typedef struct _ISO_FILE_INFO
94{
95 ULONG FileStart; // File start sector
96 ULONG FileSize; // File size
97 ULONG FilePointer; // File pointer
101
102const DEVVTBL* IsoMount(ULONG DeviceId);
unsigned char BOOLEAN
struct _ISO_FILE_INFO ISO_FILE_INFO
const DEVVTBL * IsoMount(ULONG DeviceId)
Definition: iso.c:498
struct _VD_HEADER * PVD_HEADER
struct _PVD PVD
struct _DIR_RECORD * PDIR_RECORD
struct _DIR_RECORD DIR_RECORD
struct _PVD * PPVD
struct _ISO_FILE_INFO * PISO_FILE_INFO
struct _VD_HEADER VD_HEADER
unsigned short USHORT
Definition: pedump.c:61
ULONG DataLengthM
Definition: iso.h:30
UCHAR TimeZone
Definition: iso.h:37
UCHAR FileIdLength
Definition: iso.h:42
UCHAR FileFlags
Definition: iso.h:38
UCHAR FileId[1]
Definition: iso.h:43
ULONG VolumeSequenceNumber
Definition: iso.h:41
UCHAR ExtAttrRecordLength
Definition: iso.h:26
UCHAR Hour
Definition: iso.h:34
UCHAR FileUnitSize
Definition: iso.h:39
UCHAR InterleaveGapSize
Definition: iso.h:40
UCHAR Year
Definition: iso.h:31
UCHAR Minute
Definition: iso.h:35
UCHAR RecordLength
Definition: iso.h:25
UCHAR Second
Definition: iso.h:36
ULONG ExtentLocationM
Definition: iso.h:28
UCHAR Month
Definition: iso.h:32
UCHAR Day
Definition: iso.h:33
ULONG ExtentLocationL
Definition: iso.h:27
ULONG DataLengthL
Definition: iso.h:29
ULONG FilePointer
Definition: iso.h:97
ULONG FileStart
Definition: iso.h:95
ULONG DriveNumber
Definition: iso.h:99
ULONG FileSize
Definition: iso.h:96
BOOLEAN Directory
Definition: iso.h:98
Definition: iso.h:61
ULONG LPathTablePos
Definition: iso.h:80
DIR_RECORD RootDirRecord
Definition: iso.h:84
USHORT LogicalBlockSizeL
Definition: iso.h:76
ULONG VolumeSpaceSizeM
Definition: iso.h:70
ULONG PathTableSizeM
Definition: iso.h:79
UCHAR unused1[8]
Definition: iso.h:68
ULONG VolumeSpaceSizeL
Definition: iso.h:69
UCHAR VolumeSetIdentifier[128]
Definition: iso.h:85
UCHAR PublisherIdentifier[128]
Definition: iso.h:86
ULONG LOptPathTablePos
Definition: iso.h:81
UCHAR StandardId[5]
Definition: iso.h:63
USHORT VolumeSeqNumberM
Definition: iso.h:75
ULONG MOptPathTablePos
Definition: iso.h:83
UCHAR unused2[32]
Definition: iso.h:71
UCHAR unused0
Definition: iso.h:65
USHORT LogicalBlockSizeM
Definition: iso.h:77
UCHAR VdType
Definition: iso.h:62
UCHAR VolumeId[32]
Definition: iso.h:67
ULONG MPathTablePos
Definition: iso.h:82
USHORT VolumeSeqNumberL
Definition: iso.h:74
USHORT VolumeSetSizeL
Definition: iso.h:72
ULONG PathTableSizeL
Definition: iso.h:78
USHORT VolumeSetSizeM
Definition: iso.h:73
UCHAR VdVersion
Definition: iso.h:64
UCHAR SystemId[32]
Definition: iso.h:66
Definition: iso.h:49
UCHAR StandardId[5]
Definition: iso.h:51
UCHAR VdVersion
Definition: iso.h:52
UCHAR VdType
Definition: iso.h:50
Definition: fs.h:25
uint32_t ULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: xmlstorage.h:181