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
37 lines
2.1 KiB
class CICWWalker : public IICWWalker
|
|
{
|
|
public:
|
|
// IICWWalker
|
|
virtual HRESULT STDMETHODCALLTYPE Walk();
|
|
virtual HRESULT STDMETHODCALLTYPE AttachToDocument (IWebBrowser2* lpWebBrowser);
|
|
virtual HRESULT STDMETHODCALLTYPE AttachToMSHTML (BSTR bstrURL);
|
|
virtual HRESULT STDMETHODCALLTYPE ExtractUnHiddenText (BSTR* pbstrText);
|
|
virtual HRESULT STDMETHODCALLTYPE Detach ();
|
|
virtual HRESULT STDMETHODCALLTYPE InitForMSHTML ();
|
|
virtual HRESULT STDMETHODCALLTYPE TermForMSHTML ();
|
|
virtual HRESULT STDMETHODCALLTYPE LoadURLFromFile (BSTR bstrURL);
|
|
virtual HRESULT STDMETHODCALLTYPE ProcessOLSFile (IWebBrowser2* lpWebBrowser);
|
|
virtual HRESULT STDMETHODCALLTYPE get_PageType (LPDWORD pdwPageType);
|
|
virtual HRESULT STDMETHODCALLTYPE get_IsQuickFinish (BOOL* pbIsQuickFinish);
|
|
virtual HRESULT STDMETHODCALLTYPE get_PageFlag (LPDWORD pdwPageFlag);
|
|
virtual HRESULT STDMETHODCALLTYPE get_PageID (BSTR* pbstrPageID);
|
|
virtual HRESULT STDMETHODCALLTYPE get_URL (LPTSTR lpszURL, BOOL bForward);
|
|
virtual HRESULT STDMETHODCALLTYPE get_FirstFormQueryString (LPTSTR lpszQuery);
|
|
virtual HRESULT STDMETHODCALLTYPE get_IeakIspFile (LPTSTR lpszIspFile);
|
|
|
|
// IUNKNOWN
|
|
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID theGUID, void** retPtr);
|
|
virtual ULONG STDMETHODCALLTYPE AddRef (void);
|
|
virtual ULONG STDMETHODCALLTYPE Release (void);
|
|
|
|
CICWWalker (CServer* pServer);
|
|
~CICWWalker (void);
|
|
|
|
// Each instance of the ICWWalker object will need a walker object (it does the work)
|
|
CWalker* m_pHTMLWalker;
|
|
|
|
private:
|
|
LONG m_lRefCount;
|
|
IUnknown* m_pUnkOuter; // Outer unknown (aggregation & delegation).
|
|
CServer* m_pServer; // Pointer to this component server's control object.
|
|
};
|