arpctl.idl
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 3k
Category:

Windows Kernel

Development Platform:

Visual C++

  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("stdole32.tlb");
  15. importlib("stdole2.tlb");
  16. [
  17. object,
  18. uuid(0CB57B2B-D652-11D1-B1DE-00C04FC2A118),
  19. dual,
  20. helpstring("IARPCtl Interface"),
  21. pointer_default(unique)
  22. ]
  23. interface IARPCtl : IDispatch
  24. {
  25. [propget, id(1), helpstring("property ItemCount")] HRESULT ItemCount([out, retval] long *pVal);
  26. [propget, id(2), helpstring("property DisplayName")] HRESULT DisplayName([out, retval] BSTR *pVal);
  27.         [propget, id(3), helpstring("property Version")] HRESULT Version([out, retval] BSTR *pVal);
  28.         [propget, id(4), helpstring("property Publisher")] HRESULT Publisher([out, retval] BSTR *pVal);
  29.         [propget, id(5), helpstring("property ProductID")] HRESULT ProductID([out, retval] BSTR *pVal);
  30.         [propget, id(6), helpstring("property RegisteredOwner")] HRESULT RegisteredOwner([out, retval] BSTR *pVal);
  31.         [propget, id(7), helpstring("property Language")] HRESULT Language([out, retval] BSTR *pVal);
  32.         [propget, id(8), helpstring("property SupportUrl")] HRESULT SupportUrl([out, retval] BSTR *pVal);
  33.         [propget, id(9), helpstring("property SupportTelephone")] HRESULT SupportTelephone([out, retval] BSTR *pVal);
  34.         [propget, id(10), helpstring("property HelpLink")] HRESULT HelpLink([out, retval] BSTR *pVal);
  35.         [propget, id(11), helpstring("property InstallLocation")] HRESULT InstallLocation([out, retval] BSTR *pVal);
  36.         [propget, id(12), helpstring("property InstallSource")] HRESULT InstallSource([out, retval] BSTR *pVal);
  37.         [propget, id(13), helpstring("property InstallDate")] HRESULT InstallDate([out, retval] BSTR *pVal);
  38.         [propget, id(14), helpstring("property RequiredByPolicy")] HRESULT RequiredByPolicy([out, retval] BSTR *pVal);
  39.         [propget, id(15), helpstring("property Contact")] HRESULT Contact([out, retval] BSTR *pVal);
  40.         [propget, id(16), helpstring("property Size")] HRESULT Size([out, retval] BSTR *pVal);
  41.         [propget, id(17), helpstring("property TimesUsed")] HRESULT TimesUsed([out, retval] BSTR *pVal);
  42.         [propget, id(18), helpstring("property LastUsed")] HRESULT LastUsed([out, retval] BSTR *pVal);
  43. [id(100), helpstring("method InitData")] HRESULT InitData(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. };
  48.     [
  49.         uuid(0E5B1C7E-D87D-11d1-B1DE-00C04FC2A118),
  50.         helpstring("Event interface for ARPCtl")
  51.     ]
  52.     dispinterface _ARPCtlEvents
  53.     {
  54.     properties:
  55.     methods:
  56.         [id(1)] void OnSyncDataReady();
  57.         [id(2)] void OnAsyncDataReady([in]long row);
  58.     };
  59. [
  60. uuid(0CB57B2C-D652-11D1-B1DE-00C04FC2A118),
  61. helpstring("ARPCtl Class")
  62. ]
  63. coclass CARPCtl
  64. {
  65. [default] interface IARPCtl;
  66.         [default, source] dispinterface _ARPCtlEvents;
  67. };
  68. };