ReactOS 0.4.16-dev-2610-ge2c92c0
part_mbr.h File Reference
#include <pshpack1.h>
#include <poppack.h>
#include <reactos/rosioctl.h>
Include dependency graph for part_mbr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PARTITION_TABLE_ENTRY
 
struct  _MASTER_BOOT_RECORD
 

Macros

#define PARTITION_ENTRY_UNUSED   0x00
 
#define PARTITION_FAT_12   0x01
 
#define PARTITION_XENIX_1   0x02
 
#define PARTITION_XENIX_2   0x03
 
#define PARTITION_FAT_16   0x04
 
#define PARTITION_EXTENDED   0x05
 
#define PARTITION_HUGE   0x06
 
#define PARTITION_IFS   0x07
 
#define PARTITION_OS2BOOTMGR   0x0A
 
#define PARTITION_FAT32   0x0B
 
#define PARTITION_FAT32_XINT13   0x0C
 
#define PARTITION_XINT13   0x0E
 
#define PARTITION_XINT13_EXTENDED   0x0F
 
#define PARTITION_NTFS   0x17
 
#define PARTITION_PREP   0x41
 
#define PARTITION_LDM   0x42
 
#define PARTITION_UNIX   0x63
 
#define VALID_NTFT   0xC0
 
#define PARTITION_NTFT   0x80
 
#define PARTITION_GPT   0xEE
 

Typedefs

typedef struct _PARTITION_TABLE_ENTRY PARTITION_TABLE_ENTRY
 
typedef struct _PARTITION_TABLE_ENTRYPPARTITION_TABLE_ENTRY
 
typedef struct _MASTER_BOOT_RECORD MASTER_BOOT_RECORD
 
typedef struct _MASTER_BOOT_RECORDPMASTER_BOOT_RECORD
 

Functions

 C_ASSERT (sizeof(PARTITION_TABLE_ENTRY)==16)
 
 C_ASSERT (sizeof(MASTER_BOOT_RECORD)==512)
 

Macro Definition Documentation

◆ PARTITION_ENTRY_UNUSED

#define PARTITION_ENTRY_UNUSED   0x00

Definition at line 50 of file part_mbr.h.

◆ PARTITION_EXTENDED

#define PARTITION_EXTENDED   0x05

Definition at line 55 of file part_mbr.h.

◆ PARTITION_FAT32

#define PARTITION_FAT32   0x0B

Definition at line 59 of file part_mbr.h.

◆ PARTITION_FAT32_XINT13

#define PARTITION_FAT32_XINT13   0x0C

Definition at line 60 of file part_mbr.h.

◆ PARTITION_FAT_12

#define PARTITION_FAT_12   0x01

Definition at line 51 of file part_mbr.h.

◆ PARTITION_FAT_16

#define PARTITION_FAT_16   0x04

Definition at line 54 of file part_mbr.h.

◆ PARTITION_GPT

#define PARTITION_GPT   0xEE

Definition at line 69 of file part_mbr.h.

◆ PARTITION_HUGE

#define PARTITION_HUGE   0x06

Definition at line 56 of file part_mbr.h.

◆ PARTITION_IFS

#define PARTITION_IFS   0x07

Definition at line 57 of file part_mbr.h.

◆ PARTITION_LDM

#define PARTITION_LDM   0x42

Definition at line 65 of file part_mbr.h.

◆ PARTITION_NTFS

#define PARTITION_NTFS   0x17

Definition at line 63 of file part_mbr.h.

◆ PARTITION_NTFT

#define PARTITION_NTFT   0x80

Definition at line 68 of file part_mbr.h.

◆ PARTITION_OS2BOOTMGR

#define PARTITION_OS2BOOTMGR   0x0A

Definition at line 58 of file part_mbr.h.

◆ PARTITION_PREP

#define PARTITION_PREP   0x41

Definition at line 64 of file part_mbr.h.

◆ PARTITION_UNIX

#define PARTITION_UNIX   0x63

Definition at line 66 of file part_mbr.h.

◆ PARTITION_XENIX_1

#define PARTITION_XENIX_1   0x02

Definition at line 52 of file part_mbr.h.

◆ PARTITION_XENIX_2

#define PARTITION_XENIX_2   0x03

Definition at line 53 of file part_mbr.h.

◆ PARTITION_XINT13

#define PARTITION_XINT13   0x0E

Definition at line 61 of file part_mbr.h.

◆ PARTITION_XINT13_EXTENDED

#define PARTITION_XINT13_EXTENDED   0x0F

Definition at line 62 of file part_mbr.h.

◆ VALID_NTFT

#define VALID_NTFT   0xC0

Definition at line 67 of file part_mbr.h.

Typedef Documentation

◆ MASTER_BOOT_RECORD

◆ PARTITION_TABLE_ENTRY

◆ PMASTER_BOOT_RECORD

◆ PPARTITION_TABLE_ENTRY

Function Documentation

◆ C_ASSERT() [1/2]

C_ASSERT ( sizeof(MASTER_BOOT_RECORD = =512)

◆ C_ASSERT() [2/2]

C_ASSERT ( sizeof(PARTITION_TABLE_ENTRY = =16)