windows-nt/Source/XPSP1/NT/net/tapi/sp/remotesp/imperson.h

41 lines
463 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
impersn.h
Abstract:
Definitions for impersonation routines
Author:
Anthony Discolo (adiscolo) 04-Aug-1995
Revision History:
--*/
#ifndef _IMPERSON_
#define _IMPERSON_
VOID
RevertImpersonation();
BOOLEAN
GetCurrentlyLoggedOnUser(
HANDLE *phProcess
);
BOOLEAN
SetProcessImpersonationToken(
HANDLE hProcess
);
VOID
ClearImpersonationToken();
#endif // _IMPERSON_