Source code of Windows XP (NT5)
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.

81 lines
2.6 KiB

  1. //
  2. // MODULE: TSHOOT.idl
  3. //
  4. // PURPOSE: type library source fot Local Troubleshooter DLL project
  5. //
  6. // PROJECT: Troubleshooter 99
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
  9. //
  10. // AUTHOR: Oleg Kalosha
  11. //
  12. // ORIGINAL DATE: 12.23.98
  13. //
  14. // NOTES:
  15. // This file will be processed by the MIDL tool to
  16. // produce the type library (TSHOOT.tlb) and marshalling code,
  17. // that will become a resource in TSHOOT.dll.
  18. //
  19. // Version Date By Comments
  20. //--------------------------------------------------------------------
  21. // V0.1 12/23/98 OK
  22. import "oaidl.idl";
  23. import "ocidl.idl";
  24. #include "olectl.h"
  25. [
  26. object,
  27. uuid(4B106872-DD36-11D0-8B44-00A024DD9EFF),
  28. dual,
  29. helpstring("ITSHOOTCtrl Interface"),
  30. pointer_default(unique)
  31. ]
  32. interface ITSHOOTCtrl : IDispatch
  33. {
  34. [id(1), helpstring("method RunQuery")] HRESULT RunQuery([in] VARIANT varCmds, [in] VARIANT varVals, [in] short size, [out, retval] BSTR * pbstrPage);
  35. [id(2), helpstring("method SetSniffResult")] HRESULT SetSniffResult([in] VARIANT varNodeName, [in] VARIANT varState, [out, retval] BOOL * bResult);
  36. [id(3), helpstring("method PreLoadURL")] HRESULT PreLoadURL([in] BSTR bstrRoot, [out, retval] BSTR * pbstrPage);
  37. [id(4), helpstring("method Restart")] HRESULT Restart([out, retval] BSTR * pbstrPage);
  38. [id(5), helpstring("method SetPair")] HRESULT SetPair([in] BSTR bstrCmd, [in] BSTR bstrVal);
  39. [id(6), helpstring("method RunQuery2")] HRESULT RunQuery2([in] BSTR, [in] BSTR, [in] BSTR, [out, retval] BSTR * pbstrPage);
  40. [id(7), helpstring("method ProblemPage")] HRESULT ProblemPage([out, retval] BSTR * pbstrFirstPage);
  41. [id(8), helpstring("method NotifyNothingChecked")] HRESULT NotifyNothingChecked([in] BSTR bstrMessage);
  42. [id(9), helpstring("method IsLocked")] HRESULT IsLocked([out, retval] BOOL * pbResult);
  43. [id(10), helpstring("method setLocale2")] HRESULT setLocale2([in] BSTR bstrNewLocale );
  44. };
  45. [
  46. uuid(37536092-0A44-11d3-854B-004005506310),
  47. version(1.0),
  48. helpstring("TSHOOT 3.1 Type Library")
  49. ]
  50. library TSHOOTLib
  51. {
  52. importlib("stdole32.tlb");
  53. importlib("stdole2.tlb");
  54. [
  55. uuid(4B106873-DD36-11D0-8B44-00A024DD9EFF),
  56. helpstring("_ITSHOOTCtrlEvents Interface")
  57. ]
  58. dispinterface _ITSHOOTCtrlEvents
  59. {
  60. properties:
  61. methods:
  62. [id(1), helpstring("method SniffingJS")] long Sniffing([in] BSTR strNodeName, [in] BSTR strLaunchBasis, [in] BSTR strAdditionalArgs);
  63. [id(2), helpstring("method Render")] void Render([in] BSTR bstrPage);
  64. };
  65. [
  66. uuid(37536094-0A44-11d3-854B-004005506310),
  67. helpstring("TSHOOTCtrl Class")
  68. ]
  69. coclass TSHOOTCtrl
  70. {
  71. [default] interface ITSHOOTCtrl;
  72. [default, source] dispinterface _ITSHOOTCtrlEvents;
  73. };
  74. };