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.

56 lines
1016 B

  1. /****************************************************************************/
  2. // munotify.h
  3. //
  4. // Copyright (C) 1997-1999 Microsoft Corp.
  5. /****************************************************************************/
  6. #define LOGOFF_CMD_TIMEOUT (60*1000)
  7. VOID CtxExecServerLogon( HANDLE hToken );
  8. VOID CtxExecServerLogoff( );
  9. extern BOOL g_Console;
  10. extern ULONG g_SessionId;
  11. HANDLE g_UserToken;
  12. DWORD ExecServerThread(
  13. LPVOID lpThreadParameter
  14. );
  15. BOOLEAN
  16. ProcessExecRequest(
  17. HANDLE hPipe,
  18. PCHAR pBuf,
  19. DWORD AmountRead
  20. );
  21. BOOLEAN StartExecServerThread(void);
  22. LPVOID
  23. StartUserProcessMonitor(
  24. );
  25. VOID
  26. DeleteUserProcessMonitor(
  27. LPVOID Parameter
  28. );
  29. LPVOID UserProcessMonitor;
  30. #if 0
  31. VOID ProcessLogoff(PTERMINAL pTerm);
  32. #endif
  33. BOOL AllocTempDirVolatileEnvironment();
  34. VOID RemovePerSessionTempDirs();
  35. #define IsActiveConsoleSession() (BOOLEAN)(USER_SHARED_DATA->ActiveConsoleId == NtCurrentPeb()->SessionId)