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.

41 lines
1.1 KiB

  1. //
  2. // Kernel Mutex Level Numbers (must be globallly assigned within executive)
  3. // The third token in the name is the sub-component name that defines and
  4. // uses the level number.
  5. //
  6. //
  7. // Used by Vdm for protecting io simulation structures
  8. //
  9. #define MUTEX_LEVEL_VDM_IO (ULONG)0x00000001
  10. #define MUTEX_LEVEL_EX_PROFILE (ULONG)0x00000040
  11. //
  12. // The LANMAN Redirector uses the file system major function, but defines
  13. // it's own mutex levels. We can do this safely because we know that the
  14. // local filesystem will never call the remote filesystem and vice versa.
  15. //
  16. #define MUTEX_LEVEL_RDR_FILESYS_DATABASE (ULONG)0x10100000
  17. #define MUTEX_LEVEL_RDR_FILESYS_SECURITY (ULONG)0x10100001
  18. //
  19. // File System levels.
  20. //
  21. #define MUTEX_LEVEL_FILESYSTEM_RAW_VCB (ULONG)0x11000006
  22. //
  23. // In the NT STREAMS environment, a mutex is used to serialize open, close
  24. // and Scheduler threads executing in a subsystem-parallelized stack.
  25. //
  26. #define MUTEX_LEVEL_STREAMS_SUBSYS (ULONG)0x11001001
  27. //
  28. // Mutex level used by LDT support on x86
  29. //
  30. #define MUTEX_LEVEL_PS_LDT (ULONG)0x1F000000