Collapse All
Parallels C API Reference Guide
PrlStatDisk_GetPartsStatsCount Function
PrlApi.h PHT_SYSTEM_STATISTICS_DISK See Also

Determines the number of the handles of type PHT_SYSTEM_STATISTICS_DISK_PARTITION contained in the specified PHT_SYSTEM_STATISTICS_DISK object.

Syntax
PRL_RESULT PrlStatDisk_GetPartsStatsCount(
    PRL_HANDLE hDiskStat, 
    PRL_UINT32_PTR pnCount
);
File
Parameters

hDiskStat
A handle of type PHT_SYSTEM_STATISTICS_DISK identifying the disk.
pnCount
[out] A pointer to a variable that receives the result.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Each available partition will have its own PHT_SYSTEM_STATISTICS_DISK_PARTITION object instance.

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