Gets current encoding of specified Vm.
PRL_RESULT PrlDevDisplay_GetDisplayEncoding( PRL_HANDLE hObj, PRL_IO_DISPLAY_ENCODING_PTR pOutEnc );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_SUCCESS - out parameter has been filled with current display encoding.
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_INVALID_ARG - pOutEnc pointer is wrong or hVm does not exist.