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.

37 lines
2.1 KiB

  1. class CICWWalker : public IICWWalker
  2. {
  3. public:
  4. // IICWWalker
  5. virtual HRESULT STDMETHODCALLTYPE Walk();
  6. virtual HRESULT STDMETHODCALLTYPE AttachToDocument (IWebBrowser2* lpWebBrowser);
  7. virtual HRESULT STDMETHODCALLTYPE AttachToMSHTML (BSTR bstrURL);
  8. virtual HRESULT STDMETHODCALLTYPE ExtractUnHiddenText (BSTR* pbstrText);
  9. virtual HRESULT STDMETHODCALLTYPE Detach ();
  10. virtual HRESULT STDMETHODCALLTYPE InitForMSHTML ();
  11. virtual HRESULT STDMETHODCALLTYPE TermForMSHTML ();
  12. virtual HRESULT STDMETHODCALLTYPE LoadURLFromFile (BSTR bstrURL);
  13. virtual HRESULT STDMETHODCALLTYPE ProcessOLSFile (IWebBrowser2* lpWebBrowser);
  14. virtual HRESULT STDMETHODCALLTYPE get_PageType (LPDWORD pdwPageType);
  15. virtual HRESULT STDMETHODCALLTYPE get_IsQuickFinish (BOOL* pbIsQuickFinish);
  16. virtual HRESULT STDMETHODCALLTYPE get_PageFlag (LPDWORD pdwPageFlag);
  17. virtual HRESULT STDMETHODCALLTYPE get_PageID (BSTR* pbstrPageID);
  18. virtual HRESULT STDMETHODCALLTYPE get_URL (LPTSTR lpszURL, BOOL bForward);
  19. virtual HRESULT STDMETHODCALLTYPE get_FirstFormQueryString (LPTSTR lpszQuery);
  20. virtual HRESULT STDMETHODCALLTYPE get_IeakIspFile (LPTSTR lpszIspFile);
  21. // IUNKNOWN
  22. virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID theGUID, void** retPtr);
  23. virtual ULONG STDMETHODCALLTYPE AddRef (void);
  24. virtual ULONG STDMETHODCALLTYPE Release (void);
  25. CICWWalker (CServer* pServer);
  26. ~CICWWalker (void);
  27. // Each instance of the ICWWalker object will need a walker object (it does the work)
  28. CWalker* m_pHTMLWalker;
  29. private:
  30. LONG m_lRefCount;
  31. IUnknown* m_pUnkOuter; // Outer unknown (aggregation & delegation).
  32. CServer* m_pServer; // Pointer to this component server's control object.
  33. };