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.

97 lines
2.4 KiB

  1. // NWNDS.odl : type library source for NWNDS.dll
  2. // This file will be processed by the Make Type Library (mktyplib) tool to
  3. // produce the type library (NWNDS.tlb).
  4. #include "NWNDS2.h"
  5. [ uuid(NDS_LIBIID_NDSOle), version(1.0),
  6. helpstring("Active DS NWNDS Namespace Provider") ]
  7. library NWNDSOle
  8. {
  9. importlib("stdole2.tlb");
  10. importlib("activeds.tlb");
  11. [ uuid(NDS_CLSID_NDSNamespace)]
  12. coclass NWNDSNamespace
  13. {
  14. [default] interface IADsContainer;
  15. interface IADs;
  16. interface IDispatch;
  17. };
  18. [ uuid(NDS_CLSID_NDSGenObject)]
  19. coclass NWNDSGenObject
  20. {
  21. [default] interface IADsContainer;
  22. interface IADs;
  23. interface IDispatch;
  24. };
  25. [uuid(NDS_CLSID_NDSProvider)]
  26. coclass NWNDSProvider
  27. {
  28. [default] interface IDispatch;
  29. interface IUnknown;
  30. };
  31. [uuid(NDS_CLSID_NDSTree)]
  32. coclass NWNDSTree
  33. {
  34. [default] interface IADs;
  35. interface IDispatch;
  36. };
  37. [uuid(NDS_CLSID_NDSSchema)]
  38. coclass NWNDSSchema
  39. {
  40. [default] interface IADs;
  41. interface IDispatch;
  42. };
  43. [uuid(NDS_CLSID_NDSClass)]
  44. coclass NWNDSClass
  45. {
  46. [default] interface IADs;
  47. interface IDispatch;
  48. };
  49. [uuid(NDS_CLSID_NDSProperty)]
  50. coclass NWNDSProperty
  51. {
  52. [default] interface IADs;
  53. interface IDispatch;
  54. };
  55. [uuid(NDS_CLSID_NDSSyntax)]
  56. coclass NWNDSSyntax
  57. {
  58. [default] interface IADs;
  59. interface IDispatch;
  60. };
  61. [ uuid(NDS_CLSID_INDSAcl), oleautomation, dual]
  62. interface INDSAcl : IDispatch
  63. {
  64. PROPERTY_BSTR_RW(ProtectedAttrName, 2)
  65. PROPERTY_BSTR_RW(SubjectName, 3)
  66. PROPERTY_LONG_RW(Privileges, 4)
  67. [id(5)]
  68. HRESULT
  69. CopyAcl([out, retval] IDispatch ** ppAcl);
  70. };
  71. [ uuid(NDS_CLSID_NDSAcl)]
  72. coclass NWNDSAcl
  73. {
  74. [default] interface INDSAcl;
  75. interface IDispatch;
  76. };
  77. };