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.

62 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 <lonsi.hxx>
  13. dllexp
  14. BOOL
  15. IISDuplicateTokenEx(
  16. IN HANDLE hExistingToken,
  17. IN DWORD dwDesiredAccess,
  18. IN LPSECURITY_ATTRIBUTES lpTokenAttributes,
  19. IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
  20. IN TOKEN_TYPE TokenType,
  21. OUT PHANDLE phNewToken
  22. )
  23. /*++
  24. Description:
  25. Stub for DuplicateTokenEx
  26. Arguments:
  27. same as DuplicateTokenEx
  28. Returns:
  29. ditto
  30. --*/
  31. {
  32. DBG_ASSERT( pfnDuplicateTokenEx != NULL );
  33. return(pfnDuplicateTokenEx(
  34. hExistingToken,
  35. dwDesiredAccess,
  36. lpTokenAttributes,
  37. ImpersonationLevel,
  38. TokenType,
  39. phNewToken
  40. ) );
  41. } // IISDuplicateTokenEx