Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlStatDisk_GetPartStat Function
PHT_SYSTEM_STATISTICS_DISK

Obtains a handle of type PHT_SYSTEM_STATISTICS_DISK_PARTITION containing the specified disk partition statistics.

Syntax
PRL_RESULT PrlStatDisk_GetPartStat(
    PRL_HANDLE hDiskStat, 
    PRL_UINT32 nIndex, 
    PRL_HANDLE_PTR phPartStat
);
File

PrlApiStat.h

Parameters

hDiskStat
A handle of type PHT_SYSTEM_STATISTICS_DISK identifying the disk.
nIndex
A numeric index identifying the PHT_SYSTEM_STATISTICS_DISK_PARTITION object instance (beginning with 0). To obtain the number of instances, use the PrlStatDisk_GetPartsStatsCount function.
phPartStat
[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. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.