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.8 KiB

  1. //****************************************************************************
  2. //
  3. // File: isignole.h
  4. //
  5. // Content: This is the include file with the Ole Automation stuff needed by
  6. // isignup.cpp and sink.cpp.
  7. // History:
  8. // Sat 10-Mar-1996 23:50:40 -by- Mark MacLin [mmaclin]
  9. //
  10. // Copyright (c) Microsoft Corporation 1996
  11. //
  12. //****************************************************************************
  13. //WIN32 wrappers for these?
  14. #include <objbase.h>
  15. #include <exdisp.h>
  16. #include <exdispid.h>
  17. #include <olectl.h>
  18. #include <ocidl.h>
  19. extern IConnectionPoint * GetConnectionPoint(void);
  20. extern HRESULT InitOle( void );
  21. extern HRESULT KillOle( void );
  22. extern HRESULT IENavigate( TCHAR *szURL );
  23. class CDExplorerEvents : public DWebBrowserEvents
  24. {
  25. private:
  26. ULONG m_cRef; //Reference count
  27. //PAPP m_pApp; //For calling Message
  28. //UINT m_uID; //Sink identifier
  29. public:
  30. //Connection key, public for CApp's usage
  31. DWORD m_dwCookie;
  32. public:
  33. CDExplorerEvents( void );
  34. ~CDExplorerEvents(void);
  35. //IUnknown members
  36. STDMETHODIMP QueryInterface(REFIID, VOID * *);
  37. STDMETHODIMP_(DWORD) AddRef(void);
  38. STDMETHODIMP_(DWORD) Release(void);
  39. /* IDispatch methods */
  40. STDMETHOD(GetTypeInfoCount)(UINT FAR* pctinfo);
  41. STDMETHOD(GetTypeInfo)(UINT itinfo,LCID lcid,ITypeInfo FAR* FAR* pptinfo);
  42. STDMETHOD(GetIDsOfNames)(REFIID riid,OLECHAR FAR* FAR* rgszNames,UINT cNames,
  43. LCID lcid, DISPID FAR* rgdispid);
  44. STDMETHOD(Invoke)(DISPID dispidMember,REFIID riid,LCID lcid,WORD wFlags,
  45. DISPPARAMS FAR* pdispparams, VARIANT FAR* pvarResult, EXCEPINFO FAR* pexcepinfo,UINT FAR* puArgErr);
  46. };