Редагувати

Поділитися через


SMC_GETSFOBJECT message

Requests a pointer to a specified object.

SMC_GETSFOBJECT 
    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. It is similar to SMC_GETOBJECT but used for Shell folder items. 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