Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlSrvCfgHddPart_GetIndex Function
PHT_HW_HARD_DISK_PARTITION

Returns the index of the specified hard disk partition.

Syntax
PRL_RESULT PrlSrvCfgHddPart_GetIndex(
    PRL_HANDLE hPart, 
    PRL_UINT32_PTR pnIndex
);
File

PrlApiDisp.h

Parameters

hPart
A valid handle of type PHT_HW_HARD_DISK_PARTITION identifying the hard disk partition.
pnIndex
[out] Pointer to a variable that receives the partition index.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

Partition index uniquely identifies a partition on a hard disk.

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.