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.

63 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name :
  4. nsistubs.cxx
  5. Abstract:
  6. non standard interface stubs
  7. Author:
  8. Johnson R Apacible (johnsona) 15-Nov-1996
  9. --*/
  10. #include <tcpdllp.hxx>
  11. #pragma hdrstop
  12. #include <isplat.h>
  13. #include <lonsi.hxx>
  14. dllexp
  15. BOOL
  16. IISDuplicateTokenEx(
  17. IN HANDLE hExistingToken,
  18. IN DWORD dwDesiredAccess,
  19. IN LPSECURITY_ATTRIBUTES lpTokenAttributes,
  20. IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
  21. IN TOKEN_TYPE TokenType,
  22. OUT PHANDLE phNewToken
  23. )
  24. /*++
  25. Description:
  26. Stub for DuplicateTokenEx
  27. Arguments:
  28. same as DuplicateTokenEx
  29. Returns:
  30. ditto
  31. --*/
  32. {
  33. DBG_ASSERT( !TsIsWindows95() );
  34. DBG_ASSERT( pfnDuplicateTokenEx != NULL );
  35. return(pfnDuplicateTokenEx(
  36. hExistingToken,
  37. dwDesiredAccess,
  38. lpTokenAttributes,
  39. ImpersonationLevel,
  40. TokenType,
  41. phNewToken
  42. ) );
  43. } // IISDuplicateTokenEx