CreateInfoTipFromItem

Go to Home Page

Creates a specified interface on a shell info tip

Syntax

HRESULT WINAPI CreateInfoTipFromItem (
    IShellFolder2* psf,
    ITEMIDLIST* pidl,
    LPCWSTR pText,
    REFIID riid,
    PVOID* ppv
)

Parameters

psf
The folder containing the item described by pidl
pidl
pidl of item to create the info tip for
pText
Info tip text
riid
Id of the interface to return
ppv
Pointer to a pointer that receives the interface

Return Value

S_OK on success, otherwise a standard COM error

Remarks

Forwards to CreateInfoTipFromItem2 like so:

return CreateInfoTipFromItem2(psf, pidl, NULL, pText, riid, ppv);

This function is also known as _CreateInfoTipFromItem@20.