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.

22 lines
782 B

  1. #include "treewalk.h" // for IShellTreeWalkerCallBack
  2. class CBaseTreeWalkerCB : public IShellTreeWalkerCallBack
  3. {
  4. public:
  5. CBaseTreeWalkerCB();
  6. // IUnknown
  7. STDMETHODIMP QueryInterface(REFIID riid, void **ppv);
  8. STDMETHODIMP_(ULONG) AddRef(void) ;
  9. STDMETHODIMP_(ULONG) Release(void);
  10. // IShellTreeWalkerCallBack
  11. STDMETHODIMP FoundFile(LPCWSTR pwszFile, TREEWALKERSTATS *ptws, WIN32_FIND_DATAW * pwfd);
  12. STDMETHODIMP EnterFolder(LPCWSTR pwszFolder, TREEWALKERSTATS *ptws, WIN32_FIND_DATAW * pwfd);
  13. STDMETHODIMP LeaveFolder(LPCWSTR pwszFolder, TREEWALKERSTATS *ptws);
  14. STDMETHODIMP HandleError(LPCWSTR pwszPath, TREEWALKERSTATS *ptws, HRESULT hrError);
  15. protected:
  16. virtual ~CBaseTreeWalkerCB();
  17. LONG _cRef;
  18. };