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.

56 lines
862 B

  1. /******************************************************************************
  2. S E C U R I T Y H E A D E R
  3. Name: security.h
  4. Date: 1/20/94
  5. Creator: John Fu
  6. Description:
  7. This is the header file for shares.c
  8. ******************************************************************************/
  9. BOOL GetTokenHandle(
  10. PHANDLE pTokenHandle);
  11. PSECURITY_DESCRIPTOR MakeLocalOnlySD (void);
  12. PSECURITY_DESCRIPTOR CurrentUserOnlySD (void);
  13. #ifdef DEBUG
  14. void HexDumpBytes(
  15. char *pv,
  16. unsigned cb);
  17. void PrintSid(
  18. PSID sid);
  19. void PrintAcl(
  20. PACL pacl);
  21. void PrintSD(
  22. PSECURITY_DESCRIPTOR pSD);
  23. #else
  24. #define HexDumpBytes(x,y)
  25. #define PrintSid(x)
  26. #define PrintAcl(x)
  27. #define PrintSD(x)
  28. #endif