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.

89 lines
4.0 KiB

  1. // ARPCtl.idl : IDL source for ARPCtl.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (ARPCtl.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. uuid(0CB57B1E-D652-11D1-B1DE-00C04FC2A118),
  9. version(1.0),
  10. helpstring("ARPCtl 1.0 Type Library")
  11. ]
  12. library ARPCTLLib
  13. {
  14. importlib("stdole2.tlb");
  15. [
  16. object,
  17. uuid(0CB57B2B-D652-11D1-B1DE-00C04FC2A118),
  18. dual,
  19. helpstring("IARPCtl Interface"),
  20. pointer_default(unique)
  21. ]
  22. interface IARPCtl : IDispatch
  23. {
  24. [propget, id(1), helpstring("property ItemCount")] HRESULT ItemCount([out, retval] long *pVal);
  25. [propget, id(2), helpstring("property DisplayName")] HRESULT DisplayName([out, retval] BSTR *pVal);
  26. [propget, id(3), helpstring("property Version")] HRESULT Version([out, retval] BSTR *pVal);
  27. [propget, id(4), helpstring("property Publisher")] HRESULT Publisher([out, retval] BSTR *pVal);
  28. [propget, id(5), helpstring("property ProductID")] HRESULT ProductID([out, retval] BSTR *pVal);
  29. [propget, id(6), helpstring("property RegisteredOwner")] HRESULT RegisteredOwner([out, retval] BSTR *pVal);
  30. [propget, id(7), helpstring("property Language")] HRESULT Language([out, retval] BSTR *pVal);
  31. [propget, id(8), helpstring("property SupportUrl")] HRESULT SupportUrl([out, retval] BSTR *pVal);
  32. [propget, id(9), helpstring("property SupportTelephone")] HRESULT SupportTelephone([out, retval] BSTR *pVal);
  33. [propget, id(10), helpstring("property HelpLink")] HRESULT HelpLink([out, retval] BSTR *pVal);
  34. [propget, id(11), helpstring("property InstallLocation")] HRESULT InstallLocation([out, retval] BSTR *pVal);
  35. [propget, id(12), helpstring("property InstallSource")] HRESULT InstallSource([out, retval] BSTR *pVal);
  36. [propget, id(13), helpstring("property InstallDate")] HRESULT InstallDate([out, retval] BSTR *pVal);
  37. [propget, id(14), helpstring("property RequiredByPolicy")] HRESULT RequiredByPolicy([out, retval] BSTR *pVal);
  38. [propget, id(15), helpstring("property Contact")] HRESULT Contact([out, retval] BSTR *pVal);
  39. [propget, id(16), helpstring("property Size")] HRESULT Size([out, retval] BSTR *pVal);
  40. [propget, id(17), helpstring("property TimesUsed")] HRESULT TimesUsed([out, retval] BSTR *pVal);
  41. [propget, id(18), helpstring("property LastUsed")] HRESULT LastUsed([out, retval] BSTR *pVal);
  42. [propget, id(19), helpstring("property Capability")] HRESULT Capability([out, retval] long * pVal);
  43. [id(100), helpstring("method InitData")] HRESULT InitData([in] BSTR bstrEnum, [in] DWORD dwSortOrder);
  44. [id(101), helpstring("method MoveFirst")] HRESULT MoveFirst([out, retval] BOOL* pbool);
  45. [id(102), helpstring("method MoveNext")] HRESULT MoveNext([out, retval] BOOL* pbool);
  46. [id(103), helpstring("method MoveTo")] HRESULT MoveTo([in] DWORD dwRecNum, [out, retval] BOOL* pbool);
  47. // Valid Exec command strings:
  48. //
  49. // "install" - install app at nRecord
  50. // "uninstall" - uninstall app
  51. // "modify" - modify app
  52. // "repair" - repair app
  53. // "upgrade" - upgrade app
  54. // "generic install" - invoke the 'install from floppy or CD' wizard
  55. // "ntoptions" - add/remove NT options
  56. // "winupdate" - update windows
  57. //
  58. [id(104), helpstring("method Exec")] HRESULT Exec([in] BSTR bstrExec);
  59. };
  60. [
  61. uuid(0E5B1C7E-D87D-11d1-B1DE-00C04FC2A118),
  62. helpstring("Event interface for ARPCtl")
  63. ]
  64. dispinterface _ARPCtlEvents
  65. {
  66. properties:
  67. methods:
  68. [id(1)] void OnSyncDataReady();
  69. [id(2)] void OnAsyncDataReady([in]long row);
  70. [id(3)] void OnRowReady([in]long row);
  71. };
  72. [
  73. uuid(0CB57B2C-D652-11D1-B1DE-00C04FC2A118),
  74. helpstring("ARPCtl Class")
  75. ]
  76. coclass CARPCtl
  77. {
  78. [default] interface IARPCtl;
  79. [default, source] dispinterface _ARPCtlEvents;
  80. };
  81. };