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.

65 lines
1.2 KiB

  1. class CSecurityDescriptor;
  2. class CSecurityDescriptor : INHERIT_TRACKING,
  3. public ISupportErrorInfo,
  4. public IADsSecurityDescriptor
  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_IADsSecurityDescriptor_METHODS
  13. CSecurityDescriptor::CSecurityDescriptor();
  14. CSecurityDescriptor::~CSecurityDescriptor();
  15. static
  16. HRESULT
  17. CSecurityDescriptor::CreateSecurityDescriptor(
  18. REFIID riid,
  19. void **ppvObj
  20. );
  21. static
  22. HRESULT
  23. CSecurityDescriptor::AllocateSecurityDescriptorObject(
  24. CSecurityDescriptor ** ppSecurityDescriptor
  25. );
  26. protected:
  27. CDispatchMgr FAR * _pDispMgr;
  28. LPWSTR _lpOwner;
  29. BOOL _fOwnerDefaulted;
  30. LPWSTR _lpGroup;
  31. BOOL _fGroupDefaulted;
  32. DWORD _dwRevision;
  33. DWORD _dwControl;
  34. IADsAccessControlList * _pDAcl;
  35. BOOL _fDaclDefaulted;
  36. IADsAccessControlList * _pSAcl;
  37. BOOL _fSaclDefaulted;
  38. };
  39.