Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmDevHd_IsSplitted Function
PHT_VIRTUAL_DEV_HARD_DISK  See Also

Determines if the virtual hard disk is split into multiple files.

Syntax
PRL_RESULT PrlVmDevHd_IsSplitted(
    PRL_HANDLE hVmDev, 
    PRL_BOOL_PTR pbSplitted
);
File

PrlApiVm.h

Parameters

hVmDev
A valid handle of type PHT_VIRTUAL_DEV_HARD_DISK identifying the virtual hard disk.
pbSplitted
[out] Pointer to a variable that receives the result. PRL_TRUE indicates that the disk is split into multiple files. PRL_FALSE indicates that a single file is used.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

When adding a virtual hard disk to a virtual machine, you have an option of splitting the disk into multiple files. By using this function, you can determine whether this options was used or not.

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.