mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 18:43:37 +00:00
[FREELDR] Minimally reformat include/fs/iso.h
This commit is contained in:
parent
db419efbf2
commit
5d99a70597
1 changed files with 63 additions and 65 deletions
|
@ -20,7 +20,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <pshpack1.h>
|
#include <pshpack1.h>
|
||||||
struct _DIR_RECORD
|
typedef struct _DIR_RECORD
|
||||||
{
|
{
|
||||||
UCHAR RecordLength; // 1
|
UCHAR RecordLength; // 1
|
||||||
UCHAR ExtAttrRecordLength; // 2
|
UCHAR ExtAttrRecordLength; // 2
|
||||||
|
@ -41,22 +41,23 @@ struct _DIR_RECORD
|
||||||
ULONG VolumeSequenceNumber; // 29-32
|
ULONG VolumeSequenceNumber; // 29-32
|
||||||
UCHAR FileIdLength; // 33
|
UCHAR FileIdLength; // 33
|
||||||
UCHAR FileId[1]; // 34
|
UCHAR FileId[1]; // 34
|
||||||
};
|
} DIR_RECORD, *PDIR_RECORD;
|
||||||
typedef struct _DIR_RECORD DIR_RECORD, *PDIR_RECORD;
|
|
||||||
|
|
||||||
|
|
||||||
/* Volume Descriptor header */
|
/* Volume Descriptor header */
|
||||||
struct _VD_HEADER
|
typedef struct _VD_HEADER
|
||||||
{
|
{
|
||||||
UCHAR VdType; // 1
|
UCHAR VdType; // 1
|
||||||
UCHAR StandardId[5]; // 2-6
|
UCHAR StandardId[5]; // 2-6
|
||||||
UCHAR VdVersion; // 7
|
UCHAR VdVersion; // 7
|
||||||
};
|
} VD_HEADER, *PVD_HEADER;
|
||||||
typedef struct _VD_HEADER VD_HEADER, *PVD_HEADER;
|
|
||||||
|
|
||||||
|
|
||||||
/* Primary Volume Descriptor */
|
/*
|
||||||
struct _PVD
|
* Primary Volume Descriptor
|
||||||
|
* See also cdfs/cd.h RAW_ISO_VD
|
||||||
|
*/
|
||||||
|
typedef struct _PVD
|
||||||
{
|
{
|
||||||
UCHAR VdType; // 1
|
UCHAR VdType; // 1
|
||||||
CHAR StandardId[5]; // 2-6
|
CHAR StandardId[5]; // 2-6
|
||||||
|
@ -82,14 +83,11 @@ struct _PVD
|
||||||
CHAR PublisherIdentifier[128]; // 319-446
|
CHAR PublisherIdentifier[128]; // 319-446
|
||||||
|
|
||||||
/* more data ... */
|
/* more data ... */
|
||||||
|
} PVD, *PPVD;
|
||||||
};
|
|
||||||
#include <poppack.h>
|
#include <poppack.h>
|
||||||
typedef struct _PVD PVD, *PPVD;
|
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct _ISO_FILE_INFO
|
||||||
typedef struct
|
|
||||||
{
|
{
|
||||||
ULONG FileStart; // File start sector
|
ULONG FileStart; // File start sector
|
||||||
ULONG FileSize; // File size
|
ULONG FileSize; // File size
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue