Source code of Windows XP (NT5)
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
914 B

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. globals.c
  5. Abstract:
  6. Holds global variable declarations.
  7. Author:
  8. abhisheV 21-September-1999
  9. Environment:
  10. User Level: Win32
  11. Revision History:
  12. --*/
  13. #include "precomp.h"
  14. HANDLE ghInstance = NULL;
  15. /*
  16. Security=[Impersonation | Identification | Anonymous] [Dynamic | Static] [True | False]
  17. (where True | False corresponds to EffectiveOnly)
  18. */
  19. LPWSTR gpszStrBindingOptions = L"Security=Impersonation Dynamic False";
  20. const ULONG guFatalExceptions[] =
  21. {
  22. STATUS_ACCESS_VIOLATION,
  23. STATUS_POSSIBLE_DEADLOCK,
  24. STATUS_INSTRUCTION_MISALIGNMENT,
  25. STATUS_DATATYPE_MISALIGNMENT,
  26. STATUS_PRIVILEGED_INSTRUCTION,
  27. STATUS_ILLEGAL_INSTRUCTION,
  28. STATUS_BREAKPOINT,
  29. STATUS_STACK_OVERFLOW
  30. };
  31. const int FATAL_EXCEPTIONS_ARRAY_SIZE =
  32. sizeof(guFatalExceptions) / sizeof(guFatalExceptions[0]);