Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDevDisplay_SetDisplayEncoding Function
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

PrlApiVm.h

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
© 2021 Parallels International GmbH. All rights reserved.