INewItemAdvisor

IID_INewItemAdvisor {24D16EE5-10F5-4DE3-8766-D23779BA7A6D}

The INewItemAdvisor methods are (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C IsTypeSupported
0x10 GetPropertiesToApply
0x14 CreateNewIDList

with prototypes:

HRESULT IsTypeSupported (PCWSTR);
HRESULT GetPropertiesToApply (IPropertyStore *, REFIID, PVOID *);
HRESULT CreateNewIDList (PCWSTR, PCIDLIST_ABSOLUTE, PITEMID_CHILD *);

Availability

The INewItemAdvisor interface is implemented in SHELL32.DLL in the version 6.00 from Windows Vista, and higher.

Though new for Windows Vista, this interface is not documented by Microsoft in the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.