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.

43 lines
1.4 KiB

  1. // SAAppleTalk.idl : IDL source for SAAppleTalk.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (SAAppleTalk.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(0F26CD44-1981-416E-987A-8EA8505818E9),
  10. dual,
  11. helpstring("IAppleTalk Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IAppleTalk : IDispatch
  15. {
  16. [id(1), helpstring("method GetZones")] HRESULT GetZones([in] BSTR bstrDeviceName, [out,retval] VARIANT* pbstrZones);
  17. [propget, id(2), helpstring("property Zone")] HRESULT Zone([in] BSTR bstrDeviceName, [out, retval] BSTR *pVal);
  18. [propput, id(2), helpstring("property Zone")] HRESULT Zone([in] BSTR bstrDeviceName, [in] BSTR newVal);
  19. [id(3), helpstring("method IsDefaultPort")] HRESULT IsDefaultPort([in] BSTR bstrDeviceName, [out,retval] BOOL * bDefaultPort);
  20. [id(4), helpstring("method SetAsDefaultPort")] HRESULT SetAsDefaultPort([in] BSTR bstrDeviceName);
  21. };
  22. [
  23. uuid(1A6D9C9A-6651-4197-8DE2-CA4EB53664E2),
  24. version(1.0),
  25. helpstring("SAAppleTalk 1.0 Type Library")
  26. ]
  27. library SAAPPLETALKLib
  28. {
  29. importlib("stdole32.tlb");
  30. importlib("stdole2.tlb");
  31. [
  32. uuid(4777DCD8-1D92-4E87-8378-9AAE70E01C26),
  33. helpstring("AppleTalk Class")
  34. ]
  35. coclass AppleTalk
  36. {
  37. [default] interface IAppleTalk;
  38. };
  39. };