Collapse All
Parallels C API Reference Guide
PrlDevDisplay_SetDisplayEncoding Function
PrlApi.h Primary Display Capture

Sets display encoding for specified Vm.

Syntax
PRL_RESULT PrlDevDisplay_SetDisplayEncoding(
    PRL_HANDLE hObj, 
    const PRL_IO_DISPLAY_ENCODING_PTR pEnc
);
File
Parameters

hObj
pEnc
Encoding description. Use # PrlSrv_GetDisplayEncodingList to have a list of supported encodings.
Returns

PRL_RESULT . Possible values:

PRL_ERR_SUCCESS - specified encoding exists, request has been successfully sent to server. Encoding will be changed in few moments.

PRL_ERR_DISPLAY_ENCODINGS_NOT_SUPPORTED - display encodings are not supported on server, connection is local or remote connection does not exist anymore.

PRL_ERR_FAILURE - sending operation of encoding request has been failed.

PRL_ERR_INVALID_ARG - pEnc pointer is wrong or hVm does not exist.

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