RegisterImageBitmap

Method of IApplication

Register Icon from Bitmap

Return Value

JavaScript

var pnIcon = Application.RegisterImageBitmap(hBitmap);

Visual Basic Script

pnIcon = Application.RegisterImageBitmap hBitmap

C++

long nIcon;
HRESULT hr = Application.RegisterImageBitmap(hBitmap, &nIcon);