Collapse All
Parallels C API Reference Guide
PrlJob_GetProgress Function
PrlApi.h PHT_JOB

Obtains a job progress report.

Syntax
PRL_RESULT PrlJob_GetProgress(
    PRL_HANDLE hJob, 
    PRL_UINT32_PTR percentage
);
File
Parameters

percentage
[out] A pointer to a variable that receives the result (an integer value from 0 to 100).
handle
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

The job progress is reported as percentage of completion.

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