SmartCode ViewerX

ISmartCodeVNCViewer::GetScreenBitmapScaled Function


Resizes the screen image to the specified width and height and returns HBITMAP handle of the scaled bitmap.
Syntax
HRESULT ISmartCodeVNCViewer::GetScreenBitmapScaled(long nWidth, long nHeight, long* phBitmapHandle);
Parameters
nWigth
Width of the scalled bitmap in pixels.
nHeight
Height of the scalled bitmap in pixels.
phBitmapHandle
Pointer to a variable of type long that receives HBITMAP handle of the scalled bitmap.
Remarks
You are responsible for deleting the HBITMAP handle returned by the GetScreenBitmapScaled method. You must release this handle using the GDI DeleteObject method.