Collapse All
Parallels C API Reference Guide
PrlVmDevHd_IsSplitted Function
PrlApi.h 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
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
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!