Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDisk_CalcSplitPartSize Function
PHT_VIRTUAL_DISK

Calculate the size of part of "splitted" disk in sectors.

Syntax
PRL_RESULT PrlDisk_CalcSplitPartSize(
    PRL_UINT64 sizeMib, 
    PRL_UINT64 logicSectorSize, 
    PRL_UINT64_PTR Size
);
File

PrlDisk.h

Remarks

Part size is X Mb - 100 Mb for "may be smth. happens". Depends of the block size. The result is aligned to block size.

Links
© 2021 Parallels International GmbH. All rights reserved.