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.

40 lines
560 B

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*
  3. * Acl.h
  4. *
  5. * Routine to add the TERMINAL_SERVER_RID to any object.
  6. *
  7. * Breen Hagan - 5/4/99
  8. */
  9. #ifndef __TSOC_ACL_H__
  10. #define __TSOC_ACL_H__
  11. //
  12. // Includes
  13. //
  14. #include <aclapi.h>
  15. //
  16. // Function Prototypes
  17. //
  18. BOOL
  19. AddTerminalServerUserToSD(
  20. PSECURITY_DESCRIPTOR *ppSd,
  21. DWORD NewAccess,
  22. PACL *ppDacl
  23. );
  24. #ifdef LATERMUCHLATER
  25. BOOL
  26. AddTerminalServerUserToObjectsSecurityDescriptor(
  27. HANDLE hObject,
  28. SE_OBJECT_TYPE ObjectType,
  29. DWORD NewAccess
  30. );
  31. #endif
  32. #endif