_PT_MBR Structure

Microchip MDD File System Interface

MDDFS Interface Library Help
_PT_MBR Structure
C
typedef struct {
  BYTE ConsChkRtn[446];
  PTE_MBR Partition0;
  PTE_MBR Partition1;
  PTE_MBR Partition2;
  PTE_MBR Partition3;
  BYTE Signature0;
  BYTE Signature1;
} _PT_MBR;
Description

The _PT_MBR structure has the same form as a master boot record. When the MBR is loaded from the device, it will be cast as a _PT_MBR structure so the MBR elements can be accessed.

Members
Members 
Description 
BYTE ConsChkRtn[446]; 
Boot code 
PTE_MBR Partition0; 
The first partition table entry 
PTE_MBR Partition1; 
The second partition table entry 
PTE_MBR Partition2; 
The third partition table entry 
PTE_MBR Partition3; 
The fourth partition table entry 
BYTE Signature0; 
MBR signature code - equal to 0x55 
BYTE Signature1; 
MBR signature code - equal to 0xAA 
Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.