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.

45 lines
683 B

  1. class CAcl;
  2. class CAcl : INHERIT_TRACKING,
  3. public IADsAcl
  4. {
  5. public:
  6. /* IUnknown methods */
  7. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  8. DECLARE_STD_REFCOUNTING
  9. DECLARE_IDispatch_METHODS
  10. DECLARE_IADsAcl_METHODS
  11. CAcl::CAcl();
  12. CAcl::~CAcl();
  13. static
  14. HRESULT
  15. CAcl::CreateSecurityDescriptor(
  16. REFIID riid,
  17. void **ppvObj
  18. );
  19. static
  20. HRESULT
  21. CAcl::AllocateSecurityDescriptorObject(
  22. CAcl ** ppSecurityDescriptor
  23. );
  24. protected:
  25. CDispatchMgr FAR * _pDispMgr;
  26. LPWSTR _lpProtectedAttrName;
  27. LPWSTR _lpSubjectName;
  28. DWORD _dwPrivileges;
  29. };
  30.