SmartCode ViewerX

ISmartCodeVNCViewer::Encoding Property


Sets or returns an encoding used to connect to server.

Syntax

HRESULT ISmartCodeVNCViewer::get_Encoding(VNCEncoding* pnEncoding);
HRESULT ISmartCodeVNCViewer::put_Encoding(VNCEncoding nEncoding);

Parameters

pnEncoding
Pointer to a variable of type VNCEncoding that receives an encoding used to connect to server.
nEncoding
VNCEncoding that specifies connection encoding.

Return Value

Returns S_OK if successful, or an error value otherwise.