#include "MBR.h"
Functions | |
teMBR_PartType | GetPartitionType (tsMBR *apMBR, int anPartitionNum) |
Get the Type of a Partition given a valid 512 byte MBR. | |
uint32_t | GetPartitionStart (tsMBR *apMBR, int anPartitionNum) |
Get the Starting Logical Block of a partition. | |
uint32_t | GetParitionSize (tsMBR *apMBR, int anPartitionNum) |
Get the size in Logical Blocks (512 byte sector) of a partition. |
teMBR_PartType GetPartitionType | ( | tsMBR * | apMBR, | |
int | anPartitionNum | |||
) |
Get the Type of a Partition given a valid 512 byte MBR.
[in] | apMBR | Pointer to 512 byte MBR. |
[in] | anPartitionNum | Primary partition number (0-3) |
uint32_t GetPartitionStart | ( | tsMBR * | apMBR, | |
int | anPartitionNum | |||
) |
Get the Starting Logical Block of a partition.
[in] | apMBR | Pointer to 512 byte MBR. |
[in] | anPartitionNum | Primary partition number (0-3) |
uint32_t GetParitionSize | ( | tsMBR * | apMBR, | |
int | anPartitionNum | |||
) |
Get the size in Logical Blocks (512 byte sector) of a partition.
[in] | apMBR | Pointer to 512 byte MBR. |
[in] | anPartitionNum | Primary partition number (0-3) |