SMC_DEFAULTICON message

Return the default icon for the item specified by the accompanying SMDATA structure.

SMC_DEFAULTICON 
    wParam = (WPARAM) (LPWSTR) pwszIcon;
    lParam = (LPARAM) (int) iIcon
            

Parameters

pwszIcon

A pointer to a string that receives the fully qualified path of the file that contains the default icon.

iIcon

A pointer to an integer that receives the index of the icon in the file specified by pwszIcon.

Return value

Return S_OK.

Remarks

This notification is received by the IShellMenuCallback::CallbackSM method.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Shobjidl.h
IDL
Shobjidl.idl