NTSTATUS
IoCreateDisk(
  IN  PDEVICE_OBJECT DeviceObject,
  IN  PCREATE_DISK DiskInfo
  );

Routine Description:

    This routine creates an empty disk for the device object. It can operate
    on either an EFI disk or an MBR disk. The parameters necessary to create
    an empty disk vary for different type of partition tables the disks
    contain.

Arguments:

    DeviceObject - Device object to initialize disk for.

    DiskInfo - The information necessary to create the disk. This will vary
            for different partition types; e.g., MBR partitioned disks and
            EFI partitioned disks. If DiskInfo is NULL, then we default
            to initializing the disk to raw.

Return Values:

    NTSTATUS code.