SmartCode ViewerX

ISmartCodeVNCViewer2::AltKeyPressed Property


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

Syntax

HRESULT ISmartCodeVNCViewer2::get_AltKeyPressed(VARIANT_BOOL* pbPressed);
HRESULT ISmartCodeVNCViewer2::put_AltKeyPressed(VARIANT_BOOL bPressed);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.