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.

71 lines
1.8 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. ntdll_data.c
  5. Abstract:
  6. data previously defined in ldrp.h
  7. Author:
  8. Jay Krell (Jaykrell) March 2002
  9. Revision History:
  10. --*/
  11. #pragma warning(disable:4214) // bit field types other than int
  12. #pragma warning(disable:4201) // nameless struct/union
  13. #pragma warning(disable:4115) // named type definition in parentheses
  14. #pragma warning(disable:4127) // condition expression is constant
  15. #include <nt.h>
  16. #include <ntrtl.h>
  17. #include <nturtl.h>
  18. #include "ldrp.h"
  19. HANDLE LdrpKnownDllObjectDirectory;
  20. WCHAR LdrpKnownDllPathBuffer[LDRP_MAX_KNOWN_PATH];
  21. UNICODE_STRING LdrpKnownDllPath;
  22. LIST_ENTRY LdrpHashTable[LDRP_HASH_TABLE_SIZE];
  23. LIST_ENTRY RtlpCalloutEntryList;
  24. RTL_CRITICAL_SECTION RtlpCalloutEntryLock;
  25. LIST_ENTRY LdrpDllNotificationList;
  26. #if DBG
  27. ULONG LdrpCompareCount;
  28. ULONG LdrpSnapBypass;
  29. ULONG LdrpNormalSnap;
  30. ULONG LdrpSectionOpens;
  31. ULONG LdrpSectionCreates;
  32. ULONG LdrpSectionMaps;
  33. ULONG LdrpSectionRelocates;
  34. BOOLEAN LdrpDisplayLoadTime;
  35. LARGE_INTEGER BeginTime, InitcTime, InitbTime, IniteTime, EndTime, ElapsedTime, Interval;
  36. #endif // DBG
  37. BOOLEAN RtlpTimoutDisable;
  38. LARGE_INTEGER RtlpTimeout;
  39. ULONG NtGlobalFlag;
  40. LIST_ENTRY RtlCriticalSectionList;
  41. RTL_CRITICAL_SECTION RtlCriticalSectionLock;
  42. BOOLEAN LdrpShutdownInProgress;
  43. PLDR_DATA_TABLE_ENTRY LdrpImageEntry;
  44. LIST_ENTRY LdrpUnloadHead;
  45. BOOLEAN LdrpActiveUnloadCount;
  46. PLDR_DATA_TABLE_ENTRY LdrpGetModuleHandleCache;
  47. PLDR_DATA_TABLE_ENTRY LdrpLoadedDllHandleCache;
  48. ULONG LdrpFatalHardErrorCount;
  49. UNICODE_STRING LdrpDefaultPath;
  50. RTL_CRITICAL_SECTION FastPebLock;
  51. HANDLE LdrpShutdownThreadId;
  52. ULONG LdrpNumberOfProcessors;
  53. LIST_ENTRY LdrpTlsList;
  54. ULONG LdrpNumberOfTlsEntries;
  55. PKERNEL32_PROCESS_INIT_POST_IMPORT_FUNCTION Kernel32ProcessInitPostImportFunction;