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.

48 lines
773 B

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