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.

99 lines
3.0 KiB

  1. //
  2. // MODULE: TSHOOT.odl
  3. //
  4. // PURPOSE: type library source for Troubleshooter OCX project
  5. //
  6. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
  9. //
  10. // AUTHOR: Roman Mach or Richard Meadows
  11. //
  12. // ORIGINAL DATE: early history not recorded
  13. //
  14. // NOTES:
  15. // This file will be processed by the Make Type Library (mktyplib) tool to
  16. // produce the type library (TSHOOT.tlb) that will become a resource in
  17. // TSHOOT.ocx.
  18. //
  19. // Version Date By Comments
  20. //--------------------------------------------------------------------
  21. // V0.3 04/09/98 JM/OK+ Local Version for NT5
  22. [ uuid(4B106871-DD36-11D0-8B44-00A024DD9EFF), version(1.0),
  23. helpstring("TSHOOT OLE Control module"), control ]
  24. library TSHOOTLib
  25. {
  26. #include <olectl.h>
  27. #include <idispids.h>
  28. importlib(STDOLE_TLB);
  29. importlib(STDTYPE_TLB);
  30. // Primary dispatch interface for CTSHOOTCtrl
  31. [ uuid(4B106872-DD36-11D0-8B44-00A024DD9EFF),
  32. helpstring("Dispatch interface for TSHOOT Control"), hidden ]
  33. dispinterface _DTSHOOT
  34. {
  35. properties:
  36. // NOTE - ClassWizard will maintain property information here.
  37. // Use extreme caution when editing this section.
  38. //{{AFX_ODL_PROP(CTSHOOTCtrl)
  39. [id(1)] BSTR DownloadURL;
  40. [id(2)] BSTR DownloadListFilename;
  41. //}}AFX_ODL_PROP
  42. methods:
  43. // NOTE - ClassWizard will maintain method information here.
  44. // Use extreme caution when editing this section.
  45. //{{AFX_ODL_METHOD(CTSHOOTCtrl)
  46. [id(3)] BSTR RunQuery(VARIANT varCmds, VARIANT varVals, short size);
  47. [id(4)] bool SetSniffResult(VARIANT varNodeName, VARIANT varState);
  48. [id(5)] long GetExtendedError();
  49. [id(6)] BSTR GetCurrentFriendlyDownload();
  50. [id(7)] BSTR GetCurrentFileDownload();
  51. [id(8)] long DownloadAction(long dwActionType);
  52. [id(9)] BSTR BackUp();
  53. [id(10)] BSTR ProblemPage();
  54. [id(11)] BSTR PreLoadURL(BSTR szRoot);
  55. [id(12)] BSTR Restart();
  56. [id(13)] BSTR RunQuery2(BSTR strTopic, BSTR strCmd, BSTR strVal);
  57. [id(14)] void SetPair(BSTR strName, BSTR strValue);
  58. //}}AFX_ODL_METHOD
  59. [id(DISPID_ABOUTBOX)] void AboutBox();
  60. };
  61. // Event dispatch interface for CTSHOOTCtrl
  62. [ uuid(4B106873-DD36-11D0-8B44-00A024DD9EFF),
  63. helpstring("Event interface for TSHOOT Control") ]
  64. dispinterface _DTSHOOTEvents
  65. {
  66. properties:
  67. // Event interface has no properties
  68. methods:
  69. // NOTE - ClassWizard will maintain event information here.
  70. // Use extreme caution when editing this section.
  71. //{{AFX_ODL_EVENT(CTSHOOTCtrl)
  72. [id(1)] void BindProgress(BSTR sFile, long ulCurr, long ulTotal);
  73. [id(2)] void BindStatus(long uItem, long uStat, long uExtended, boolean bComplete);
  74. [id(3)] void Sniffing(BSTR strMachine, BSTR strPNPDevice, BSTR strDeviceInstance, BSTR strClassGuid);
  75. //}}AFX_ODL_EVENT
  76. };
  77. // Class information for CTSHOOTCtrl
  78. [ uuid(4B106874-DD36-11D0-8B44-00A024DD9EFF),
  79. helpstring("TSHOOT Control"), control ]
  80. coclass TSHOOT
  81. {
  82. [default] dispinterface _DTSHOOT;
  83. [default, source] dispinterface _DTSHOOTEvents;
  84. };
  85. //{{AFX_APPEND_ODL}}
  86. };