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.

26 lines
577 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: security.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Define various winlogon security-related routines
  7. *
  8. * History:
  9. * 12-09-91 Davidc Created.
  10. \***************************************************************************/
  11. BOOL
  12. SetWorldSecurity(
  13. PSID UserSid,
  14. PSECURITY_DESCRIPTOR *pSecDesc,
  15. BOOL bWriteAccess
  16. );
  17. BOOL InitializeSecurityAttributes(
  18. PSECURITY_ATTRIBUTES pSecurityAttributes,
  19. BOOL bWriteAccess
  20. );
  21. BOOL TestUserForAdmin();