rufus/src/ms-sys/inc/partition_info.h

17 lines
611 B
C

#ifndef PARTITION_INFO_H
#define PARTITION_INFO_H
/* Writes the number of heads to a partition
returns TRUE on success, otherwise FALSE */
int write_partition_number_of_heads(FILE *fp, int iHeads);
/* Writes the start sector number to a partition (also known as
"number of hidden sectors"), returns TRUE on success, otherwise FALSE */
int write_partition_start_sector_number(FILE *fp, int iStartSector);
/* Writes a physical disk drive id of 0x80 (for C:) to a partition */
int write_partition_physical_disk_drive_id_fat16(FILE *fp);
int write_partition_physical_disk_drive_id_fat32(FILE *fp);
#endif