Collapse All
Parallels Virtualization SDK
PrlDisk_GetStatesTree Function
PHT_VIRTUAL_DISK See Also

Gets virtual disk states tree.

Syntax
PRL_RESULT PrlDisk_GetStatesTree(
    PRL_HANDLE hDisk, 
    PRL_HANDLE_PTR phRootNode
);
File

PrlDisk.h

Parameters

hDisk
[in] A handle of type PHT_VIRTUAL_DISK identifying the virtual disk
phRootNode
[out] A pointer to a variable that receives the new handle of type PHT_VIRTUAL_DISK_STATE_PARAMS .
Returns

PRL_RESULT . Possible values are:

PRL_ERR_INVALID_ARG - Invalid handle or null pointer was passed. PRL_ERR_OUT_OF_MEMORY - Not enough memory to create an object. PRL_ERR_SUCCESS - Function completed successfully.

Remarks

States tree is returned as root node element, child elemets can be retrieved using PrlDiskStateParams_GetChildStateList function.

See Also
Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.