Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlSrvCfgHdd_GetPart Function
PrlApi.h  PHT_HW_HARD_DISK  Send Feedback

Obtains a handle of type PHT_HW_HARD_DISK_PARTITION identifying the specified hard disk partition.

Syntax
PRL_RESULT PrlSrvCfgHdd_GetPart(
    PRL_HANDLE hHardDisk, 
    PRL_UINT32 nIndex, 
    PRL_HANDLE_PTR phPart
);
File
Parameters

hHardDisk
A handle of type PHT_HW_HARD_DISK, identifying the hard disk.
nIndex
An index of the hard disk partition for which you would like to obtain a handle. Partitions are index beginning with 0 (zero). The total number of partitions can be obtained by calling the PrlSrvCfgHdd_GetPartsCount function.
phPart
[out] A pointer to a handle of type PHT_HW_HARD_DISK_PARTITION identifying the partition.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

 

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!