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.

67 lines
1.4 KiB

  1. /*************************************************************************
  2. *
  3. * inipath.h
  4. *
  5. * Function declarations for INI file mapping
  6. *
  7. * copyright notice: Copyright 1998, Microsoft Corporation
  8. *
  9. *
  10. *
  11. *************************************************************************/
  12. #define CtxFreeSID LocalFree
  13. /*
  14. * Forward references
  15. */
  16. NTSTATUS
  17. GetPerUserWindowsDirectory(
  18. OUT PUNICODE_STRING pFQName
  19. );
  20. ULONG GetTermsrvAppCompatFlags(OUT LPDWORD pdwCompatFlags, OUT LPDWORD pdwAppType);
  21. NTSTATUS
  22. BuildIniFileName(
  23. OUT PUNICODE_STRING pFQName,
  24. IN PUNICODE_STRING pBaseFileName
  25. );
  26. NTSTATUS
  27. GetEnvPath(
  28. OUT PUNICODE_STRING pFQPath,
  29. IN PUNICODE_STRING pDriveVariableName,
  30. IN PUNICODE_STRING pPathVariableName
  31. );
  32. NTSTATUS
  33. ConvertSystemRootToUserDir(
  34. OUT PUNICODE_STRING pFQPath,
  35. IN PUNICODE_STRING BaseWindowsDirectory
  36. );
  37. BOOL CtxCreateSecurityDescriptor( PSECURITY_ATTRIBUTES psa );
  38. BOOL CtxFreeSecurityDescriptor( PSECURITY_ATTRIBUTES psa );
  39. NTSTATUS
  40. CtxAddAccessAllowedAce (
  41. IN OUT PACL Acl,
  42. IN ULONG AceRevision,
  43. IN ACCESS_MASK AccessMask,
  44. IN PSID Sid,
  45. IN DWORD index
  46. );
  47. //BOOL CtxSyncUserIniFile(PINIFILE_PARAMETERS a);
  48. //BOOL CtxLogInstallIniFile(PINIFILE_PARAMETERS a);
  49. BOOL IsSystemLUID(VOID);
  50. BOOLEAN TermsrvPerUserWinDirMapping();