Function RegisterIconHandle(IconHandle As Long, IconType As Long) As Long
|IconHandle||Long||Handle of the icon to be used.|
|IconType||Long||Either 0(Menu icon) or 1(Tree icon).|
Returns a positive integer that is used as an identification of the icon. Return -1 if any problem occurs.
This method isn't supposed to be used in scripts, it's rather for plug-ins and other products accessing MM COM objects that use handles for icons.