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.

47 lines
1.2 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: globals.h
  3. *
  4. * Copyright (c) 1985 - 1999, Microsoft Corporation
  5. *
  6. * This module contains all the server's global variables
  7. * One must be executing on the server's context to manipulate
  8. * any of these variables or call any of these functions. Serializing access
  9. * to them is also a good idea.
  10. *
  11. * History:
  12. * 10-15-90 DarrinM Created.
  13. \***************************************************************************/
  14. #ifndef _GLOBALS_
  15. #define _GLOBALS_
  16. extern CRITICAL_SECTION gcsUserSrv;
  17. extern BOOL gfAutoEndTask;
  18. extern BOOL gbExitInProgress;
  19. /*
  20. * Logon process id.
  21. */
  22. extern DWORD gIdLogon;
  23. /*
  24. * Hard error globals.
  25. */
  26. extern DWORD gdwHardErrorThreadId;
  27. extern HANDLE gNtDllHandle;
  28. extern HANDLE gEventSource;
  29. extern PHARDERRORINFO gphiList;
  30. /*
  31. * EndTask / Shutdown stuff.
  32. */
  33. extern DWORD gdwThreadEndSession;
  34. extern HANDLE gheventCancel;
  35. extern HANDLE gheventCancelled;
  36. extern PWSTR gpwszaSUCCESS;
  37. extern PWSTR gpwszaSYSTEM_INFORMATION;
  38. extern PWSTR gpwszaSYSTEM_WARNING;
  39. extern PWSTR gpwszaSYSTEM_ERROR;
  40. extern ULONG gSessionId;
  41. #endif