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.
56 lines
1016 B
56 lines
1016 B
/****************************************************************************/
|
|
// munotify.h
|
|
//
|
|
// Copyright (C) 1997-1999 Microsoft Corp.
|
|
/****************************************************************************/
|
|
|
|
#define LOGOFF_CMD_TIMEOUT (60*1000)
|
|
|
|
VOID CtxExecServerLogon( HANDLE hToken );
|
|
VOID CtxExecServerLogoff( );
|
|
|
|
extern BOOL g_Console;
|
|
extern ULONG g_SessionId;
|
|
HANDLE g_UserToken;
|
|
|
|
DWORD ExecServerThread(
|
|
LPVOID lpThreadParameter
|
|
);
|
|
|
|
|
|
BOOLEAN
|
|
ProcessExecRequest(
|
|
HANDLE hPipe,
|
|
PCHAR pBuf,
|
|
DWORD AmountRead
|
|
);
|
|
BOOLEAN StartExecServerThread(void);
|
|
|
|
LPVOID
|
|
StartUserProcessMonitor(
|
|
);
|
|
|
|
VOID
|
|
DeleteUserProcessMonitor(
|
|
LPVOID Parameter
|
|
);
|
|
|
|
LPVOID UserProcessMonitor;
|
|
|
|
|
|
#if 0
|
|
VOID ProcessLogoff(PTERMINAL pTerm);
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
BOOL AllocTempDirVolatileEnvironment();
|
|
|
|
VOID RemovePerSessionTempDirs();
|
|
|
|
|
|
|
|
#define IsActiveConsoleSession() (BOOLEAN)(USER_SHARED_DATA->ActiveConsoleId == NtCurrentPeb()->SessionId)
|
|
|