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.

41 lines
818 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: secdesc.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Defines apis and types used to implement security descriptor helper routines
  7. *
  8. * History:
  9. * 02-06-92 Davidc Created.
  10. \***************************************************************************/
  11. //
  12. // Types used by security descriptor helper routines
  13. //
  14. typedef LONG ACEINDEX;
  15. typedef ACEINDEX *PACEINDEX;
  16. typedef struct _MYACE {
  17. PSID Sid;
  18. ACCESS_MASK AccessMask;
  19. UCHAR InheritFlags;
  20. } MYACE;
  21. typedef MYACE *PMYACE;
  22. //
  23. // Exported function prototypes
  24. //
  25. PSECURITY_DESCRIPTOR
  26. CreateSecurityDescriptor(
  27. PMYACE MyAce,
  28. ACEINDEX AceCount
  29. );
  30. BOOL
  31. DeleteSecurityDescriptor(
  32. PSECURITY_DESCRIPTOR SecurityDescriptor
  33. );