SMC_SETSFOBJECT message

Notifies you to save the passed object.

SMC_GETOBJECT 
    wParam = (WPARAM) (REFIID) iid;
    lParam = (LPARAM) (void **) pv
            

Parameters

iid

The IID associated with the object.

pv

A pointer the interface on the object specified by iid.

Return value

Return S_OK.

Remarks

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

The SMC_SETSFOBJECT notification is used with IID_Stream. The object is saved into a persisted form in the registry and nothing is done with the reference count on the object passed in.

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