NTSTATUS
FstubDetectPartitionStyle(
IN PDISK_INFORMATION Disk,
OUT PARTITION_STYLE* PartitionStyle
);
Routine Description:
Detect how a disk has been partitioned. For an MBR partitioned disk,
sector zero contains the MBR signature. For an EFI partitioned disk,
sector zero contains a legacy style MBR with a single partition that
consumes the entire disk.
Arguments:
Disk - The disk to determine the partition style for.
PartitionStyle - A buffer to
Return Values:
STATUS_SUCCESS - If the disk has been partitioned by a recognized
partitioning scheme EFI or MBR.
STATUS_UNSUCCESSFUL - If partitioning scheme was not recognized.