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.

49 lines
878 B

  1. #include "shellpch.h"
  2. #pragma hdrstop
  3. #include <msshrui.h>
  4. static
  5. BOOL
  6. WINAPI
  7. IsFolderPrivateForUser(
  8. IN PCWSTR pszFolderPath,
  9. IN PCWSTR pszUserSID,
  10. OUT PDWORD pdwPrivateType,
  11. OUT PWSTR* ppszInheritanceSource
  12. )
  13. {
  14. if (ppszInheritanceSource)
  15. {
  16. *ppszInheritanceSource = NULL;
  17. }
  18. return FALSE;
  19. }
  20. static
  21. BOOL
  22. WINAPI
  23. SetFolderPermissionsForSharing(
  24. IN PCWSTR pszFolderPath,
  25. IN PCWSTR pszUserSID,
  26. IN DWORD dwLevel,
  27. IN HWND hwndParent
  28. )
  29. {
  30. return FALSE;
  31. }
  32. //
  33. // !! WARNING !! The entries below must be in alphabetical order
  34. // and are CASE SENSITIVE (i.e., lower case comes last!)
  35. //
  36. DEFINE_PROCNAME_ENTRIES(ntshrui)
  37. {
  38. DLPENTRY(IsFolderPrivateForUser)
  39. DLPENTRY(SetFolderPermissionsForSharing)
  40. };
  41. DEFINE_PROCNAME_MAP(ntshrui)