ReactOS 0.4.15-dev-7681-g776c3a3
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>
24{
31 UCHAR Year; // 19
32 UCHAR Month; // 20
33 UCHAR Day; // 21
34 UCHAR Hour; // 22
43 UCHAR FileId[1]; // 34
44};
46
47
48/* Volume Descriptor header*/
50{
52 UCHAR StandardId[5]; // 2-6
54};
56
57
58/* Primary Volume Descriptor */
59struct _PVD
60{
62 CHAR StandardId[5]; // 2-6
65 CHAR SystemId[32]; // 9-40
66 CHAR VolumeId[32]; // 41-72
67 UCHAR unused1[8]; // 73-80
70 UCHAR unused2[32]; // 89-120
71 ULONG VolumeSetSize; // 121-124
76 ULONG LPathTablePos; // 141-144
78 ULONG MPathTablePos; // 149-152
81 CHAR VolumeSetIdentifier[128]; // 191-318
82 CHAR PublisherIdentifier[128]; // 319-446
83
84 /* more data ... */
85
86};
87#include <poppack.h>
88typedef struct _PVD PVD, *PPVD;
89
90
91
92typedef struct
93{
94 ULONG FileStart; // File start sector
95 ULONG FileSize; // File size
96 ULONG FilePointer; // File pointer
100
101const DEVVTBL* IsoMount(ULONG DeviceId);
unsigned char BOOLEAN
const DEVVTBL * IsoMount(ULONG DeviceId)
Definition: iso.c:495
struct ISO_FILE_INFO * PISO_FILE_INFO
struct _VD_HEADER * PVD_HEADER
Definition: iso.h:55
struct _DIR_RECORD * PDIR_RECORD
Definition: iso.h:45
struct _PVD * PPVD
Definition: iso.h:88
ULONG FileSize
Definition: iso.h:95
ULONG FileStart
Definition: iso.h:94
ULONG DriveNumber
Definition: iso.h:98
ULONG FilePointer
Definition: iso.h:96
BOOLEAN Directory
Definition: iso.h:97
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
Definition: iso.h:60
ULONG LPathTablePos
Definition: iso.h:76
DIR_RECORD RootDirRecord
Definition: iso.h:80
ULONG VolumeSpaceSizeM
Definition: iso.h:69
ULONG PathTableSizeM
Definition: iso.h:75
UCHAR unused1[8]
Definition: iso.h:67
ULONG VolumeSpaceSizeL
Definition: iso.h:68
ULONG VolumeSequenceNumber
Definition: iso.h:72
ULONG LOptPathTablePos
Definition: iso.h:77
CHAR VolumeSetIdentifier[128]
Definition: iso.h:81
ULONG LogicalBlockSize
Definition: iso.h:73
ULONG MOptPathTablePos
Definition: iso.h:79
UCHAR unused2[32]
Definition: iso.h:70
UCHAR unused0
Definition: iso.h:64
CHAR PublisherIdentifier[128]
Definition: iso.h:82
ULONG VolumeSetSize
Definition: iso.h:71
UCHAR VdType
Definition: iso.h:61
CHAR SystemId[32]
Definition: iso.h:65
ULONG MPathTablePos
Definition: iso.h:78
ULONG PathTableSizeL
Definition: iso.h:74
CHAR StandardId[5]
Definition: iso.h:62
UCHAR VdVersion
Definition: iso.h:63
CHAR VolumeId[32]
Definition: iso.h:66
Definition: iso.h:50
UCHAR StandardId[5]
Definition: iso.h:52
UCHAR VdVersion
Definition: iso.h:53
UCHAR VdType
Definition: iso.h:51
Definition: fs.h:25
uint32_t ULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: xmlstorage.h:181
char CHAR
Definition: xmlstorage.h:175