NTSTATUS
FstubAllocateDiskInformation(
  IN  PDEVICE_OBJECT DeviceObject,
  OUT PDISK_INFORMATION * DiskBuffer,
  IN  PINTERNAL_DISK_GEOMETRY Geometry OPTIONAL
  );

Routine Description:

    Allocate and initialize a DISK_INFORMATION structure describing the
    disk DeviceObject.

Arguments:

    DeviceObject - A device object describing the entire disk.

    DiskBuffer - A buffer to a recieve the allocated DISK_INFORMATION pointer.

    Geometry - An optional pointer to an INTERNAL_DISK_GEOMETRY structure. If
            this pointer is NULL, the disk will be querried for it's geometry
            using IOCTL_DISK_GET_DRIVE_GEOMETRY_EX.

Return Values:

    NTSTATUS code.