Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlStatDisk_GetPartStat Function
PrlApi.h  PHT_SYSTEM_STATISTICS_DISK  Send Feedback

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
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
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!