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.

40 lines
503 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. impersn.h
  5. Abstract:
  6. Definitions for impersonation routines
  7. Author:
  8. Anthony Discolo (adiscolo) 04-Aug-1995
  9. Revision History:
  10. --*/
  11. #ifndef _IMPERSON_
  12. #define _IMPERSON_
  13. VOID
  14. RevertImpersonation();
  15. BOOLEAN
  16. GetCurrentlyLoggedOnUser(
  17. HANDLE *phProcess
  18. );
  19. BOOLEAN
  20. SetProcessImpersonationToken(
  21. HANDLE hProcess
  22. );
  23. VOID
  24. ClearImpersonationToken();
  25. #endif // _IMPERSON_