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