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.

25 lines
617 B

  1. #pragma once
  2. #include "pch.h"
  3. void FreeSecurityDescriptor2(
  4. IN PSECURITY_DESCRIPTOR pSd
  5. );
  6. #define CREATE_SD_DACL_PRESENT 0x0001
  7. #define CREATE_SD_SACL_PRESENT 0x0002
  8. EXTERN_C
  9. BOOL
  10. WINAPI
  11. CreateSecurityDescriptor2(
  12. OUT PSECURITY_DESCRIPTOR * ppSd,
  13. IN const DWORD dwOptions,
  14. IN const SECURITY_DESCRIPTOR_CONTROL sControl,
  15. IN const PSID psOwner,
  16. IN const PSID psGroup,
  17. IN const DWORD dwNumDaclAces,
  18. IN const DWORD dwNumSaclAces,
  19. ...
  20. );