Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
1.2 KiB

//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
//
// 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_