Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDisk_ConvertToCHS Function
PHT_VIRTUAL_DISK

This function used to convert disk size in blocks to the Cylinders-Heads-Sectors (CHS) format, used at disk creation

Syntax
PRL_RESULT PrlDisk_ConvertToCHS(
    PRL_UINT64 Size, 
    PRL_CHS_PTR Chs
);
File

PrlDisk.h

Parameters

Size
Disk size in sectors
CHS
Pointer to PRL_CHS structure to fill to

Returns

PRL_RESULT error code.

Links
© 2021 Parallels International GmbH. All rights reserved.