Collapse All
Parallels C API Reference Guide
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
What do you think about this topic? Send feedback!