Windows2003-3790/shell/ext/cdfview/tooltip.h
2020-09-30 16:53:55 +02:00

64 lines
1.2 KiB
C++

//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
//
// tooltip.h
//
// Tool tip interface for items.
//
// History:
//
// 4/21/97 edwardp Created.
//
////////////////////////////////////////////////////////////////////////////////
//
// Check for previous includes of this file.
//
#ifndef _TOOLTIP_H_
#define _TOOLTIP_H_
//
// Class definition for the item context menu class.
//
class CQueryInfo : public IQueryInfo
{
//
// Methods
//
public:
// Constructor
CQueryInfo(PCDFITEMIDLIST pcdfidl,
IXMLElementCollection* pIXMLElementCollection);
CQueryInfo(IXMLElement* pIXMLElement, BOOL fHasSubItems);
// IUnknown
STDMETHODIMP QueryInterface(REFIID, void **);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
// IQueryInfo methods.
STDMETHODIMP GetInfoTip(DWORD dwFlags, WCHAR **ppwszTip);
STDMETHODIMP GetInfoFlags(DWORD *pdwFlags);
private:
// Destructor.
~CQueryInfo(void);
//
// Member variables.
//
private:
ULONG m_cRef;
IXMLElement* m_pIXMLElement;
BOOL m_fHasSubItems;
};
#endif // _TOOLTIP_H_