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.

53 lines
815 B

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name :
  4. irtltoken.h
  5. Abstract:
  6. IISUtil token goo
  7. Author:
  8. Wade A. Hilmo (wadeh) 5-Dec-2000
  9. Environment:
  10. Win32 - User Mode
  11. Project:
  12. Internet Information Server RunTime Library
  13. Revision History:
  14. --*/
  15. // token acl utilities
  16. HRESULT
  17. WINAPI
  18. GrantWpgAccessToToken(
  19. HANDLE hToken
  20. );
  21. HRESULT
  22. WINAPI
  23. AddWpgToTokenDefaultDacl(
  24. HANDLE hToken
  25. );
  26. // token dup tool
  27. BOOL
  28. DupTokenWithSameImpersonationLevel
  29. (
  30. HANDLE hExistingToken,
  31. DWORD dwDesiredAccess,
  32. TOKEN_TYPE TokenType,
  33. PHANDLE phNewToken
  34. );
  35. // token privilege utility
  36. VOID
  37. WINAPI
  38. DisableTokenBackupPrivilege(
  39. HANDLE hToken
  40. );