Collapse All
Parallels C API Reference Guide
PrlStat_GetDiskStat Function
PrlApi.h PHT_SYSTEM_STATISTICS

Obtains a handle of type PHT_SYSTEM_STATISTICS_DISK containing the specified disk statistics.

Syntax
PRL_RESULT PrlStat_GetDiskStat(
    PRL_HANDLE hStat, 
    PRL_UINT32 nIndex, 
    PRL_HANDLE_PTR phDiskStat
);
File
Parameters

hStat
A handle of type PHT_SYSTEM_STATISTICS .
nIndex
A numeric index identifying the disk statistics object instance (beginning with 0). To get the number of instances, use the PrlStat_GetDisksStatsCount function.
phDiskStat
[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.d

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!