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.

105 lines
2.5 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. elfextrn.h
  5. Abstract:
  6. This file contains all the externs for the global variables.
  7. Author:
  8. Rajen Shah (rajens) 10-Jul-1991
  9. Revision History:
  10. --*/
  11. #include <clussprt.h>
  12. //
  13. // DEFINITIONS
  14. //
  15. #define EVENTLOG_SVC_NAMEW L"EVENTLOG"
  16. #if DBG
  17. extern DWORD ElfDebugLevel;
  18. #endif // DBG
  19. extern HANDLE ElfConnectionPortHandle;
  20. extern HANDLE ElfCommunicationPortHandle;
  21. extern PWSTR Computername;
  22. extern LIST_ENTRY LogFilesHead; // Log files
  23. extern LIST_ENTRY LogModuleHead; // Modules registered for logging
  24. extern LIST_ENTRY LogHandleListHead; // Context-handles for log handles
  25. extern LIST_ENTRY QueuedEventListHead; // Deferred events
  26. extern LIST_ENTRY QueuedMessageListHead; //Deferred Messagebox
  27. extern RTL_CRITICAL_SECTION LogFileCritSec;
  28. extern RTL_CRITICAL_SECTION LogModuleCritSec;
  29. extern RTL_CRITICAL_SECTION LogHandleCritSec;
  30. extern RTL_CRITICAL_SECTION QueuedEventCritSec;
  31. extern RTL_CRITICAL_SECTION QueuedMessageCritSec;
  32. extern SERVICE_STATUS ElfServiceStatus;
  33. extern SERVICE_STATUS_HANDLE ElfServiceStatusHandle;
  34. extern RTL_RESOURCE GlobalElfResource;
  35. extern PSID AnonymousLogonSid;
  36. extern PVOID ElfBackupPointer;
  37. extern HANDLE ElfBackupEvent;
  38. extern HANDLE LPCThreadHandle;
  39. extern HANDLE MBThreadHandle;
  40. extern HANDLE RegistryThreadHandle;
  41. extern DWORD RegistryThreadId;
  42. extern ULONG EventFlags;
  43. extern ELF_EOF_RECORD EOFRecord;
  44. extern PLOGMODULE ElfDefaultLogModule;
  45. extern PLOGMODULE ElfModule;
  46. extern PLOGMODULE ElfSecModule;
  47. extern HANDLE hEventLogNode;
  48. extern HANDLE hComputerNameNode;
  49. extern DWORD BackupModuleNumber;
  50. extern PSVCS_GLOBAL_DATA ElfGlobalData; // WellKnownSids
  51. extern BOOL EventlogShutdown;
  52. extern HANDLE ElfGlobalSvcRefHandle;
  53. extern LPWSTR GlobalMessageBoxTitle;
  54. extern HANDLE g_hTimestampEvent;
  55. //changes to support clustering
  56. extern BOOL gbClustering;
  57. extern PPACKEDEVENTINFO gpClPackedEventInfo;
  58. extern RTL_CRITICAL_SECTION gClPropCritSec;
  59. extern HMODULE ghClusDll;
  60. extern PROPAGATEEVENTSPROC gpfnPropagateEvents;
  61. extern BINDTOCLUSTERPROC gpfnBindToCluster;
  62. extern UNBINDFROMCLUSTERPROC gpfnUnbindFromCluster;
  63. extern HANDLE ghCluster;