IQueryInfo (Interfaces)
Last changed: -211.3.11.64

.
Summary
The Shell uses the IQueryInfo interface to retrieve flags and info tip information for an item that resides in an IShellFolder implementation. Info tips are usually displayed inside of a ToolTip control.

    [ComImport(),
    Guid("00021500-0000-0000-C000-000000000046"),
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IQueryInfo
    {

        [PreserveSig]
        int GetInfoTip(
            int dwFlags,
            out IntPtr ppwszTip );

        [PreserveSig]
        int GetInfoFlags( out int pdwFlags );
    }

    // free ppwszTip by CoTaskMemFree()
    //
    //     IntPtr p;
    //     if( 0 == qi.GetInfoTip( dwFlags, out p ) )
    //    {
    //        string strTip = Marshal.PtrToStringUni( p );
    //        Marshal.FreeCoTaskMem( p );
    //        ...
    //    }

Documentation
IQueryInfo on MSDN