Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlStat_GetDispUptime Function
PrlApi.h  PHT_SYSTEM_STATISTICS  Send Feedback

Returns the Parallels Service uptime in seconds.

Syntax
PRL_RESULT PrlStat_GetDispUptime(
    PRL_HANDLE hStat, 
    PRL_UINT64_PTR pnUptime
);
File
Parameters

hStat
A handle of type PHT_SYSTEM_STATISTICS.
pnUptime
[out] A pointer to a variable that receives the result (Parallels Service uptime in seconds).

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!