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.

80 lines
3.8 KiB

  1. // LaunchServ.idl : IDL source for LaunchServ.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (LaunchServ.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(131CC2A0-7634-11D1-8B6B-0060089BD8C4),
  10. dual,
  11. helpstring("ILaunchTS Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface ILaunchTS : IDispatch
  15. {
  16. [id(1), helpstring("method GetShooterStates")] HRESULT GetShooterStates([out, retval] DWORD *pdwResult);
  17. [id(2), helpstring("method GetTroubleShooter")] HRESULT GetTroubleShooter([out, retval] BSTR *pbstrShooter);
  18. [id(3), helpstring("method GetProblem")] HRESULT GetProblem([out, retval] BSTR *pbstrProblem);
  19. [id(4), helpstring("method GetNode")] HRESULT GetNode([in] short iNode, [out, retval] BSTR *pbstrNode);
  20. [id(5), helpstring("method GetState")] HRESULT GetState([in] short iNode, [out, retval] BSTR *pbstrState);
  21. [id(6), helpstring("method GetMachine")] HRESULT GetMachine([out, retval] BSTR *pbstrMachine);
  22. [id(7), helpstring("method GetPNPDevice")] HRESULT GetPNPDevice([out, retval] BSTR *pbstr);
  23. [id(8), helpstring("method GetGuidClass")] HRESULT GetGuidClass([out, retval] BSTR *pbstr);
  24. [id(9), helpstring("method GetDeviceInstance")] HRESULT GetDeviceInstance([out, retval] BSTR *pbstr);
  25. [id(10), helpstring("method Test")] HRESULT Test();
  26. };
  27. [
  28. object,
  29. uuid(66AC81E5-8926-11D1-8B7D-0060089BD8C4),
  30. dual,
  31. helpstring("ITShootATL Interface"),
  32. pointer_default(unique)
  33. ]
  34. interface ITShootATL : IDispatch
  35. {
  36. [id(1), helpstring("method SpecifyProblem")] HRESULT SpecifyProblem([in] BSTR bstrNetwork, [in] BSTR bstrProblem, [out, retval] DWORD *pdwResult);
  37. [id(2), helpstring("method SetNode")] HRESULT SetNode([in] BSTR bstrName, [in] BSTR bstrState, [out, retval] DWORD *pdwResult);
  38. [id(3), helpstring("method Language")] HRESULT Language([in] BSTR bstrLanguage, [out, retval] DWORD *pdwResult);
  39. [id(4), helpstring("method MachineID")] HRESULT MachineID([in] BSTR bstrMachineID, [out, retval] DWORD *pdwResult);
  40. [id(5), helpstring("method Test")] HRESULT Test();
  41. [id(6), helpstring("method DeviceInstanceID")] HRESULT DeviceInstanceID([in]BSTR bstrDeviceInstanceID, [out, retval] DWORD * pdwResult);
  42. [id(7), helpstring("method ReInit")] HRESULT ReInit();
  43. [id(8), helpstring("method LaunchKnown")] HRESULT LaunchKnown([out, retval] DWORD *pdwResult);
  44. [propget, id(9), helpstring("property LaunchWaitTimeOut")] HRESULT LaunchWaitTimeOut([out, retval] long *pVal);
  45. [propput, id(9), helpstring("property LaunchWaitTimeOut")] HRESULT LaunchWaitTimeOut([in] long newVal);
  46. [id(10), helpstring("method Launch")] HRESULT Launch([in] BSTR bstrCallerName, [in] BSTR bstrCallerVersion, [in] BSTR bstrAppProblem, [in] short bLaunch, [out, retval] DWORD *pdwResult);
  47. [id(11), helpstring("method LaunchDevice")] HRESULT LaunchDevice([in] BSTR bstrCallerName, [in] BSTR bstrCallerVersion, [in] BSTR bstrPNPDeviceID, [in] BSTR bstrDeviceClassGUID, [in] BSTR bstrAppProblem, [in] short bLaunch, [out, retval] DWORD *pdwResult);
  48. [propget, id(12), helpstring("property PreferOnline")] HRESULT PreferOnline([out, retval] BOOL *pVal);
  49. [propput, id(12), helpstring("property PreferOnline")] HRESULT PreferOnline([in] BOOL newVal);
  50. [id(13), helpstring("method GetStatus")] HRESULT GetStatus([out, retval] DWORD *pdwStatus);
  51. };
  52. [
  53. uuid(131CC291-7634-11D1-8B6B-0060089BD8C4),
  54. version(1.0),
  55. helpstring("LaunchServ 1.0 Type Library")
  56. ]
  57. library LAUNCHSERVLib
  58. {
  59. importlib("stdole2.tlb");
  60. [
  61. uuid(131CC2A1-7634-11D1-8B6B-0060089BD8C4),
  62. helpstring("LaunchTS Class")
  63. ]
  64. coclass LaunchTS
  65. {
  66. [default] interface ILaunchTS;
  67. };
  68. [
  69. uuid(66AC81E6-8926-11D1-8B7D-0060089BD8C4),
  70. helpstring("TShootATL Class")
  71. ]
  72. coclass TShootATL
  73. {
  74. [default] interface ITShootATL;
  75. };
  76. };