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.

90 lines
1.7 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. WlPrivate.h
  5. Abstract:
  6. This header contains prototypes for various routines that are exported by
  7. the kernel, but not exposed by any public headers.
  8. Author:
  9. Adrian J. Oney - April 21, 2002
  10. Revision History:
  11. --*/
  12. NTKERNELAPI
  13. NTSTATUS
  14. ObSetSecurityObjectByPointer(
  15. IN PVOID Object,
  16. IN SECURITY_INFORMATION SecurityInformation,
  17. IN PSECURITY_DESCRIPTOR SecurityDescriptor
  18. );
  19. NTKERNELAPI
  20. NTSTATUS
  21. SeCaptureSecurityDescriptor(
  22. IN PSECURITY_DESCRIPTOR InputSecurityDescriptor,
  23. IN KPROCESSOR_MODE RequestorMode,
  24. IN POOL_TYPE PoolType,
  25. IN BOOLEAN ForceCapture,
  26. OUT PSECURITY_DESCRIPTOR *OutputSecurityDescriptor
  27. );
  28. NTSYSAPI
  29. NTSTATUS
  30. NTAPI
  31. RtlGetSaclSecurityDescriptor(
  32. IN PSECURITY_DESCRIPTOR SecurityDescriptor,
  33. OUT PBOOLEAN SaclPresent,
  34. OUT PACL *Sacl,
  35. OUT PBOOLEAN SaclDefaulted
  36. );
  37. NTSYSAPI
  38. NTSTATUS
  39. NTAPI
  40. RtlGetGroupSecurityDescriptor(
  41. IN PSECURITY_DESCRIPTOR SecurityDescriptor,
  42. OUT PSID *Group,
  43. OUT PBOOLEAN GroupDefaulted
  44. );
  45. NTSYSAPI
  46. NTSTATUS
  47. NTAPI
  48. RtlAbsoluteToSelfRelativeSD(
  49. IN PSECURITY_DESCRIPTOR AbsoluteSecurityDescriptor,
  50. OUT PSECURITY_DESCRIPTOR SelfRelativeSecurityDescriptor,
  51. OUT PULONG BufferLength
  52. );
  53. #if 0
  54. NTSYSAPI
  55. NTSTATUS
  56. NTAPI
  57. RtlGetDaclSecurityDescriptor (
  58. IN PSECURITY_DESCRIPTOR SecurityDescriptor,
  59. OUT PBOOLEAN DaclPresent,
  60. OUT PACL *Dacl,
  61. OUT PBOOLEAN DaclDefaulted
  62. );
  63. NTSYSAPI
  64. NTSTATUS
  65. NTAPI
  66. RtlGetOwnerSecurityDescriptor(
  67. IN PSECURITY_DESCRIPTOR SecurityDescriptor,
  68. OUT PSID *Owner,
  69. OUT PBOOLEAN OwnerDefaulted
  70. );
  71. #endif