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.

107 lines
4.1 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // OBSHEL.IDL - Component description and Type Library for ObShell (MSOBSHEL)
  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 IObShellStatusPane
  20. //
  21. [
  22. object,
  23. uuid(2DD760C5-BB27-11D2-9D62-00C04F7F8935),
  24. helpstring("IObShellMainPane Interface"),
  25. pointer_default(unique)
  26. ]
  27. interface IObShellMainPane : IUnknown
  28. {
  29. HRESULT CreateMainPane ([in] HANDLE_PTR hInstance,
  30. [in] HWND hwndParent,
  31. [in] RECT* rectWindowSize,
  32. [in] BSTR bstrStartPage);
  33. HRESULT ExecScriptFn ([in] BSTR bstrScriptFn,
  34. [out] VARIANT* pvarRet);
  35. HRESULT Navigate ([in] WCHAR* pszUrl);
  36. HRESULT ListenToMainPaneEvents ([in] IUnknown* pUnk);
  37. HRESULT SetExternalInterface ([in] IUnknown* pUnk);
  38. HRESULT PreTranslateMessage ([in] LPMSG lpMsg);
  39. HRESULT AddStatusItem ([in] BSTR bstrText,
  40. [in] int iIndex);
  41. HRESULT RemoveStatusItem ([in] int iIndex);
  42. HRESULT SelectStatusItem ([in] int iIndex);
  43. HRESULT SetStatusLogo ([in] BSTR bstrPath);
  44. HRESULT SetAppMode ([in] DWORD dwAppMode);
  45. HRESULT GetNumberOfStatusItems ([out] int* piTotal);
  46. HRESULT OnDialing ([in] UINT uiType);
  47. HRESULT OnConnecting ([in] UINT uiType);
  48. HRESULT OnConnected ([in] UINT uiType);
  49. HRESULT OnDownloading ([in] UINT uiType);
  50. HRESULT OnDisconnect ([in] UINT uiType);
  51. HRESULT OnDialingError ([in] UINT uiType,
  52. [in] UINT uiErrorCode);
  53. HRESULT OnServerError ([in] UINT uiType,
  54. [in] UINT uiErrorCode);
  55. HRESULT OnRefDownloadProgress ([in] UINT uiType,
  56. [in] UINT uiPercentDone);
  57. HRESULT OnRefDownloadComplete ([in] UINT uiType,
  58. [in] UINT uiErrorCode);
  59. HRESULT OnISPDownloadComplete ([in] UINT uiType,
  60. [in] BSTR bstrURL);
  61. HRESULT MainPaneShowWindow ();
  62. HRESULT DestroyMainPane ();
  63. HRESULT Walk ([out] BOOL* pbRet);
  64. HRESULT get_PageType ([out] DWORD* pdwPageType);
  65. HRESULT get_PageFlag ([out] DWORD* pdwPageFlag);
  66. HRESULT get_PageID ([out] BSTR* pbstrPageID);
  67. HRESULT get_URL ([in] BOOL bForward,
  68. [out] BSTR* pbstrReturnURL);
  69. HRESULT get_IsQuickFinish ([out] BOOL* pbRet);
  70. HRESULT SaveISPFile ([in] BSTR bstrSrcFileName,
  71. [in] BSTR bstrDestFileName);
  72. HRESULT OnDeviceArrival ([in] UINT uiDeviceType);
  73. HRESULT OnHelp ();
  74. HRESULT OnIcsConnectionStatus ([in] UINT uiType);
  75. HRESULT PlayBackgroundMusic ();
  76. HRESULT StopBackgroundMusic ();
  77. HRESULT UnhookScriptErrorHandler ();
  78. };
  79. ///////////////////////////////////////////////////////////
  80. // ObShell Type Library
  81. //
  82. [
  83. uuid(2DD760C1-BB27-11D2-9D62-00C04F7F8935),
  84. version(1.0),
  85. helpstring("ObShell 1.0 Type Library")
  86. ]
  87. library ObShellLib
  88. {
  89. importlib("stdole32.tlb");
  90. //
  91. // ObShellMainPane
  92. //
  93. [
  94. uuid(2DD760C4-BB27-11D2-9D62-00C04F7F8935),
  95. helpstring("ObShellMainPane Class")
  96. ]
  97. coclass ObShellMainPane
  98. {
  99. [default] interface IObShellMainPane;
  100. };
  101. };