mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-06 09:31:20 -04:00
[misc] separated ms-sys dependency from application
* set ms-sys to be built as a library * also removed unused code from badblocks.c
This commit is contained in:
parent
01d1d74f04
commit
dc010cc418
56 changed files with 1129 additions and 459 deletions
16
src/ms-sys/inc/partition_info.h
Normal file
16
src/ms-sys/inc/partition_info.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue