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.

42 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1991 - 1995.
  5. //
  6. // File: acl.hxx
  7. //
  8. // Contents: Declarations for the Shares Acl Editor in the "Sharing"
  9. // property page.
  10. //
  11. // History: 5-Apr-95 BruceFo Stole from net\ui\shellui\share\shareacl.cxx
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef __ACL_HXX__
  15. #define __ACL_HXX__
  16. LONG
  17. EditShareAcl(
  18. IN HWND hwndParent,
  19. IN LPCWSTR pszServerName,
  20. IN LPCWSTR pszShareName,
  21. IN PSECURITY_DESCRIPTOR pSecDesc,
  22. OUT BOOL* pfSecDescModified,
  23. OUT PSECURITY_DESCRIPTOR* ppSecDesc
  24. );
  25. //
  26. // Share General Permissions
  27. //
  28. #define FILE_PERM_GEN_NO_ACCESS (0)
  29. #define FILE_PERM_GEN_READ (GENERIC_READ |\
  30. GENERIC_EXECUTE)
  31. #define FILE_PERM_GEN_MODIFY (GENERIC_READ |\
  32. GENERIC_EXECUTE |\
  33. GENERIC_WRITE |\
  34. DELETE )
  35. #define FILE_PERM_GEN_ALL (GENERIC_ALL)
  36. #endif // __ACL_HXX__