SMC_GETOBJECT message

Requests a pointer to a specified object.

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

Parameters

iid

The IID associated with the requested object.

pv

A void pointer that receives a pointer to the requested interface.

Return value

Return S_OK.

Remarks

This notification is received by the IShellMenuCallback::CallbackSM method. Create the requested object and assign a pointer to the requested interface to pv.

The following interfaces may be requested.

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