Collapse All
Parallels C API Reference Guide
PrlVmDevHd_GetPartition Function
PrlApi.h PHT_VIRTUAL_DEV_HARD_DISK See Also

Obtains a handle of type PHT_VIRTUAL_DEV_HD_PARTITION containing information about the specified partition of the virtual hard disk.

Syntax
PRL_RESULT PrlVmDevHd_GetPartition(
    PRL_HANDLE hVmDev, 
    PRL_UINT32 nIndex, 
    PRL_HANDLE_PTR phPartition
);
File
Parameters

hVmDev
A valid handle of type PHT_VIRTUAL_DEV_HARD_DISK identifying the virtual hard disk.
nIndex
An index identifying the partition instance (beginning with 0). To get the number of partitions of the virtual hard disk, use the PrlVmDevHd_GetPartitionsCount function.
phPartition
[out] A pointer to a variable that receives the handle.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed, or device index out of bound.

PRL_ERR_SUCCESS - function completed successfully.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!