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.

74 lines
1.4 KiB

  1. #ifndef __UDFSKD_H
  2. #define __UDFSKD_H
  3. #include "pch.h"
  4. DUMP_ROUTINE( DumpUdfCcb);
  5. DUMP_ROUTINE( DumpUdfFcb);
  6. DUMP_ROUTINE( DumpUdfIrpContext);
  7. DUMP_ROUTINE( DumpUdfVcb);
  8. DUMP_ROUTINE( DumpUdfData);
  9. DUMP_ROUTINE( DumpUdfVdo);
  10. DUMP_ROUTINE( DumpUdfIrpContextLite);
  11. DUMP_ROUTINE( DumpUdfLcb);
  12. DUMP_ROUTINE( DumpUdfPcb);
  13. DUMP_ROUTINE( DumpUdfFcbRw);
  14. DUMP_ROUTINE( DumpUdfScb);
  15. VOID
  16. UdfSummaryLcbDumpRoutine(
  17. IN ULONG64 RemoteAddress,
  18. IN LONG Options
  19. );
  20. //
  21. // TRUE if the nodetype code falls in the UDFS RW range. Enables rejection of
  22. // RW structures in non-rw FSKD builds
  23. //
  24. #define NTC_IS_UDFS_RW(X) (((X) >= 0x930) && ((X) <= 0x950))
  25. #ifdef UDFS_RW_IN_BUILD
  26. // RW flags fields
  27. extern STATE UdfRwIrpContextFlags[];
  28. extern STATE UdfRwVcbStateFlags[];
  29. extern STATE UdfScbFlags[];
  30. extern STATE UdfRwCcbFlags[];
  31. extern STATE UdfRwLcbFlags[];
  32. BOOLEAN
  33. NodeIsUdfsRwIndex( USHORT T);
  34. BOOLEAN
  35. NodeIsUdfsRwData( USHORT T);
  36. BOOLEAN
  37. LcbDeleted( ULONG F);
  38. #else
  39. #define UdfRwIrpContextFlags NULL
  40. #define UdfRwVcbStateFlags NULL
  41. #define UdfScbFlags NULL
  42. #define UdfRwCcbFlags NULL
  43. #define UdfRwLcbFlags NULL
  44. #endif
  45. // RO flags fields
  46. extern STATE UdfFcbState[];
  47. extern STATE UdfIrpContextFlags[];
  48. extern STATE UdfVcbStateFlags[];
  49. extern STATE UdfCcbFlags[];
  50. extern STATE UdfLcbFlags[];
  51. extern STATE UdfPcbFlags[];
  52. #endif