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.

65 lines
1.4 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1996 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // EditAcl.h
  7. //
  8. // Abstract:
  9. // Definition of ACL editor methods.
  10. //
  11. // Author:
  12. // David Potter (davidp) October 10, 1996
  13. // From \nt\private\window\shell\lmui\ntshrui\acl.cxx
  14. // by BruceFo
  15. //
  16. // Revision History:
  17. //
  18. // Notes:
  19. //
  20. /////////////////////////////////////////////////////////////////////////////
  21. #ifndef _EDITACL_H_
  22. #define _EDITACL_H_
  23. LONG
  24. EditClusterAcl(
  25. IN HWND hwndParent,
  26. IN LPCTSTR pszServerName,
  27. IN LPCTSTR pszClusterName,
  28. IN LPCTSTR pszClusterNameNode,
  29. IN PSECURITY_DESCRIPTOR pSecDesc,
  30. OUT BOOL * pfSecDescModified,
  31. OUT PSECURITY_DESCRIPTOR * ppSecDesc
  32. );
  33. LONG
  34. CreateDefaultSecDesc(
  35. OUT PSECURITY_DESCRIPTOR* ppSecDesc
  36. );
  37. VOID
  38. DeleteDefaultSecDesc(
  39. IN PSECURITY_DESCRIPTOR pSecDesc
  40. );
  41. PSECURITY_DESCRIPTOR
  42. CopySecurityDescriptor(
  43. IN PSECURITY_DESCRIPTOR pSecDesc
  44. );
  45. //
  46. // Cluster General Permissions
  47. //
  48. #define CLUSTER_RIGHTS_NO_ACCESS (0)
  49. #define CLUSTER_RIGHTS_READ (STANDARD_RIGHTS_READ |\
  50. CLUSAPI_READ_ACCESS)
  51. #define CLUSTER_RIGHTS_CHANGE (STANDARD_RIGHTS_WRITE |\
  52. CLUSAPI_CHANGE_ACCESS)
  53. #define CLUSTER_RIGHTS_ALL (STANDARD_RIGHTS_ALL |\
  54. CLUSAPI_ALL_ACCESS)
  55. /////////////////////////////////////////////////////////////////////////////
  56. #endif // _EDITACL_H_