Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlJob_GetProgress Function
PrlApi.h  PHT_JOB  Send Feedback

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