Collapse All
Parallels C API Reference Guide
PrlSrv_GetQuestions Function
PrlApi.h PHT_SERVER

The PrlSrv_GetQuestions function allows to synchronously receive questions from a Parallels Service.

Syntax
PRL_RESULT PrlSrv_GetQuestions(
    PRL_HANDLE hServer, 
    PRL_HANDLE_PTR pQuestionsList
);
File
Parameters

pQuestionsList
[out] A pointer to a handle of type PHT_HANDLES_LIST containing a list of available questions.
handle
A handle of type PHT_SERVER .
Returns

PRL_RESULT . Possible values: PRL_ERR_INVALID_ARG - non valid PHT_SERVER handle or non valid (NULL) pointer to the buffer for storing result was passed. PRL_ERR_OUT_OF_MEMORY - not enough memory to complete the operation. PRL_ERR_SUCCESS - operation completed successfully.

Remarks

It can be used as an alternative to asynchronous question processing through events. You can use this function at any time to check if a question is awaiting the client response on the Parallels Service.

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