SmartCode ViewerX

ISmartCodeVNCViewer::RequestSharedSession Property


Sets or retrieves the value indicating whether "request shared session" mode is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_RequestSharedSession(VARIANT_BOOL* pbShared);
HRESULT ISmartCodeVNCViewer::put_RequestSharedSession(VARIANT_BOOL bShared);

Parameters

pbShared
Pointer to a variable of type VARIANT_BOOL that receives "request shared session" mode status.
bShared
VARIANT_BOOL that enables or disables "request shared session" mode.

Return Value

Returns S_OK if successful, or an error value otherwise.