Parallels Desktop® 10 for Mac — C API Reference Guide
|
Obtains a string result from the result object identified by the index.
PRL_RESULT PrlResult_GetParamByIndexAsString( PRL_HANDLE hResult, PRL_UINT32 nIndex, PRL_STR sParamBuf, PRL_UINT32_PTR pnParamBufSize );
PrlApiCore.h
PRL_RESULT . Possible values are:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_BUFFER_OVERRUN - the size of the output buffer is not large enough. The parameter that is used to specify the size will contain the required size.
PRL_ERR_SUCCESS - function completed successfully.
Use this function when the result contains (or may contain) multiple string items. To obtain multiple items from the result object, first, determine the number of items contained in the object using the PrlResult_GetParamsCount function. Then, iterate through the list and use the iteration number as the value of the nIndex parameter.
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
|
What do you think about this topic?
Send feedback!
|