NTSTATUS
IoWritePartitionTableEx(
IN PDEVICE_OBJECT DeviceObject,
IN PDRIVE_LAYOUT_INFORMATION_EX DriveLayout
);
Routine Description:
Write a partition table to the disk.
Arguments:
DeviceObject - The device object for the disk we want to write the
partition table for.
DriveLayout - The partition table information.
Return Values:
NTSTATUS code.