SmartCode ViewerX

ISmartCodeVNCViewer::ScreenBitmap Property


Returns HBITMAP handle of the screen bitmap.

Syntax

HRESULT ISmartCodeVNCViewer::get_ScreenBitmap(long* pnScreenBitmapHandle);

Parameters

pnScreenBitmapHandle
Pointer to a variable of type long that receives HBITMAP handle of the screen bitmap.

Remarks

You must not delete the bitmap handle returned by the ScreenBitmap property. This handle is used by ViewerX and mustn't be modified by the hosting application.

Return Value

Returns S_OK if successful, or an error value otherwise.