DefaultIcon

Provides default icon information for iconic presentations of objects.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
\DefaultIcon = <
full path to exe, resource id>

Value Entries

<full path to exe, resource index>
Specifies the full path to the executable name of the object application and the resource index of the icon within the executable.

Remarks

DefaultIcon identifies the icon to use when, for example, a control is minimized to an icon. This entry contains the full path to the executable name of the server application and the resource index of the icon within the executable. Applications can use the information provided by DefaultIcon to obtain an icon handle with ExtractIcon.

HKEY_CLASSES_ROOT\CLSID\{00000402-0000-0000-C000-000000000046}
    \DefaultIcon = c:\samp\isvrotl.exe,0 
 

See Also

ExtractIcon