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.

55 lines
795 B

  1. /*++
  2. Copyright (c) 1999-2001 Microsoft Corporation
  3. Module Name:
  4. seutil.h
  5. Abstract:
  6. This module contains general security utilities.
  7. Author:
  8. Keith Moore (keithmo) 25-Mar-1999
  9. Revision History:
  10. --*/
  11. #ifndef _SEUTIL_H_
  12. #define _SEUTIL_H_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. NTSTATUS
  17. UlAssignSecurity(
  18. IN OUT PSECURITY_DESCRIPTOR *pSecurityDescriptor,
  19. IN PACCESS_STATE pAccessState
  20. );
  21. VOID
  22. UlDeassignSecurity(
  23. IN OUT PSECURITY_DESCRIPTOR *pSecurityDescriptor
  24. );
  25. NTSTATUS
  26. UlAccessCheck(
  27. IN PSECURITY_DESCRIPTOR pSecurityDescriptor,
  28. IN PACCESS_STATE pAccessState,
  29. IN ACCESS_MASK DesiredAccess,
  30. IN KPROCESSOR_MODE RequestorMode,
  31. IN PWSTR pObjectName
  32. );
  33. #ifdef __cplusplus
  34. }; // extern "C"
  35. #endif
  36. #endif // _SEUTIL_H_