Collapse All
Parallels Desktop® 10 for Mac — 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
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!