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.

72 lines
2.1 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // OBWEB_C.IDL - Component description and Type Library for ObWebBrowser (MSOBWEB)
  7. //
  8. // HISTORY:
  9. //
  10. // 1/27/99 a-jaswed Created.
  11. import "unknwn.idl";
  12. import "oaidl.idl";
  13. ///////////////////////////////////////////////////////////
  14. //
  15. //
  16. // Component descriptions
  17. //
  18. ///////////////////////////////////////////////////////////
  19. // Interface IObWebBrowser
  20. //
  21. [
  22. object,
  23. uuid(86E23621-B8BC-11d2-9D5F-00C04F7F8935),
  24. helpstring("IObWebBrowser Interface"),
  25. pointer_default(unique)
  26. ]
  27. interface IObWebBrowser : IUnknown
  28. {
  29. HRESULT AttachToWindow ([in] HWND hWnd);
  30. HRESULT PreTranslateMessage ([in] LPMSG lpMsg);
  31. HRESULT Navigate ([in] WCHAR* pszUrl, WCHAR* pszTarget);
  32. HRESULT ListenToWebBrowserEvents ([in] IUnknown* pUnk);
  33. HRESULT StopListeningToWebBrowserEvents ([in] IUnknown* pUnk);
  34. HRESULT SetExternalInterface ([in] IUnknown* pUnk);
  35. HRESULT get_WebBrowserDoc ([out] IDispatch** ppDisp);
  36. HRESULT ObWebShowWindow ();
  37. HRESULT Stop ();
  38. HRESULT PlayBackgroundMusic ();
  39. HRESULT StopBackgroundMusic ();
  40. HRESULT UnhookScriptErrorHandler ();
  41. };
  42. ///////////////////////////////////////////////////////////
  43. // ObWebBrowser Type Library
  44. //
  45. [
  46. uuid(374462A1-B8A2-11d2-9D5F-00C04F7F8935),
  47. version(1.0),
  48. helpstring("ObWebBrowser 1.0 Type Library")
  49. ]
  50. library ObWebBrowserLib
  51. {
  52. importlib("stdole32.tlb");
  53. //
  54. // ObWebBrowser
  55. //
  56. [
  57. uuid(E87D5021-B8BC-11d2-9D5F-00C04F7F8935),
  58. helpstring("ObWebBrowser Class")
  59. ]
  60. coclass ObWebBrowser
  61. {
  62. [default] interface IObWebBrowser;
  63. };
  64. };