NTSTATUS
HalpGetRegistryPartitionInformation(
  IN  ULONG DiskSignature,
  IN  LARGE_INTEGER PartitionOffset,
  IN  LARGE_INTEGER PartitionLength,
  IN OUT DISK_PARTITION *PartitionConfiguration
  );

Routine Description:

    This routine attempts to open the configuration registry key for the
    disk  signature passed in. If successful, it uses the partition offset
    and length to find the partition and returns the information in the
    specified buffer.

Arguments:

    DiskSignature - 32-bit timestamp uniquely identifying a disk.

    PartitionOffset - byte offset from beginning of disk of start
        of this partition.

    PartitionLength - length of partition in bytes.

    PartitionInformation - Pointer to buffer in which to return registry
        information.

Return Value:

    The function value is the final status of the lookup and search operation.