SmartCode ViewerX

ISmartCodeVNCViewer2::CtrlKeyPressed Property


Sets or retrieves the value indicating whether Ctrl key is pressed at the VNC server side.

Syntax

HRESULT ISmartCodeVNCViewer2::get_CtrlKeyPressed(VARIANT_BOOL* pbPressed);
HRESULT ISmartCodeVNCViewer2::put_CtrlKeyPressed(VARIANT_BOOL bPressed);

Parameters

pbAllow
Pointer to a variable of type VARIANT_BOOL that receives Ctrl key status.
bAllow
VARIANT_BOOL that presses or depresses Ctrl key at the VNC server side.

Return Value

Returns S_OK if successful, or an error value otherwise.