minibrowserCOM.h 854 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <ocidl.h>
  3. #include <api/skin/widgets/mb/iebrowser.h>
  4. class MinibrowserCOM : IDispatch
  5. {
  6. public:
  7. MinibrowserCOM(BrowserWnd* brw);
  8. /** IUnknown */
  9. STDMETHOD(QueryInterface)(REFIID riid, PVOID *ppvObject);
  10. STDMETHOD_(ULONG, AddRef)(void);
  11. STDMETHOD_(ULONG, Release)(void);
  12. /** IDispatch */
  13. STDMETHOD (GetTypeInfoCount)(unsigned int FAR* pctinfo);
  14. STDMETHOD (GetTypeInfo)(unsigned int iTInfo, LCID lcid, ITypeInfo FAR* FAR* ppTInfo);
  15. STDMETHOD (GetIDsOfNames)(REFIID riid,LPOLESTR __RPC_FAR *rgszNames,UINT cNames,LCID lcid,DISPID __RPC_FAR *rgDispId);
  16. STDMETHOD (Invoke)(DISPID dispid, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS FAR *pdispparams, VARIANT FAR *pvarResult, EXCEPINFO FAR * pexecinfo, unsigned int FAR *puArgErr);
  17. enum
  18. {
  19. MINIBROWSERCOM_MAKI_MESSAGETOMAKI = 666,
  20. };
  21. private:
  22. BrowserWnd* brw;
  23. };