SECIQueryInfoImpl Class

template <class TPidlMgr>
class SECIQueryInfoImpl: public IQueryInfo

SECIQueryInfoImpl

Defined in: SECIQueryInfoImpl.h

Comments

This class is a thin wrapper class of IQueryInfo interface. It implemented the methods in the IUnknown interface and the reference counting logic. It can only be used in an ATL base project. Since its reference counting makes use of the lock count in CComModule class of ATL, i.e. a global CComModule instanace _Module. The template argument should be an PIDL management class derived from SECPidlMgr lt; T gt; template class. This implementation is majorly targeted for namespace or shell extension. To use this class, you can derive from it and provide sensible implementation for all the methods of IQueryInfo other than that of IUnknown interface. The constructor need two arguments, a window handle and a PIDL. The window handle is usually the owner window of this interface. The constructor will save the window handle and make a copy of the PIDL. Note though, Only GetInfoTip other than that of IUnknown is currently been used.

For a complete documentation of IQueryInterface, please refer to windows SDK or MSDN from Microsoft.

Class Template Arguments

TPidlMgr

A SECPidlMgr derived class

Class Members

HWND  m_hwndOwner

todo Add your Intellisense compatible description here

LPITEMIDLIST  m_pPidl

todo Add your Intellisense compatible description here

TPidlMgr*  m_pPidlMgr

todo Add your Intellisense compatible description here

SECIQueryInfoImpl(HWND hwndOwner, LPCITEMIDLIST pidl)

Constructor