SmartCode ViewerX

ISmartCodeVNCViewer::CustomCompression Property


Sets or retrieves the value indicating whether Custom Compression is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_CustomCompression(VARIANT_BOOL* pbAllow);
HRESULT ISmartCodeVNCViewer::put_CustomCompression(VARIANT_BOOL bAllow);

Parameters

pbAllow
Pointer to a variable of type VARIANT_BOOL that receives Custom Compression status.
bAllow
VARIANT_BOOL that enables or disables Custom Compression encoding.

Return Value

Returns S_OK if successful, or an error value otherwise.