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.

76 lines
1.8 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1999 - 1999
  3. Module Name:
  4. classkd.h
  5. Abstract:
  6. Debugger Extension header file
  7. Author:
  8. Environment:
  9. Revision History:
  10. --*/
  11. #define BAD_VALUE (ULONG64)-1
  12. VOID
  13. ClassDumpFdoExtensionExternal(
  14. IN IN ULONG64 FdoExtAddr,
  15. IN ULONG Detail,
  16. IN ULONG Depth
  17. );
  18. VOID
  19. ClassDumpFdoExtensionInternal(
  20. IN ULONG64 FdoDataAddr,
  21. IN ULONG Detail,
  22. IN ULONG Depth
  23. );
  24. VOID
  25. ClassDumpIds(
  26. ULONG64 devObjAddr,
  27. ULONG detail
  28. );
  29. char *DbgGetIoctlStr(ULONG ioctl);
  30. char *DbgGetScsiOpStr(UCHAR ScsiOp);
  31. char *DbgGetSrbStatusStr(UCHAR SrbStat);
  32. char *DbgGetSenseCodeStr(UCHAR SrbStat, ULONG64 SenseDataAddr);
  33. char *DbgGetAdditionalSenseCodeStr(UCHAR SrbStat, ULONG64 SenseDataAddr);
  34. char *DbgGetAdditionalSenseCodeQualifierStr(UCHAR SrbStat, ULONG64 SenseDataAddr);
  35. char *DbgGetMediaTypeStr(ULONG MediaType);
  36. ULONG64 GetULONGField(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  37. USHORT GetUSHORTField(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  38. UCHAR GetUCHARField(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  39. ULONG64 GetFieldAddr(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  40. ULONG64 GetContainingRecord(ULONG64 FieldAddr, LPCSTR StructType, LPCSTR FieldName);
  41. VOID ClassDumpTransferPacket(
  42. ULONG64 PktAddr,
  43. BOOLEAN DumpPendingPkts,
  44. BOOLEAN DumpFreePkts,
  45. BOOLEAN DumpFullInfo,
  46. ULONG Depth);
  47. VOID ClassDumpTransferPacketLists(ULONG64 FdoDataAddr, ULONG Detail, ULONG Depth);
  48. VOID ClassDumpPrivateErrorLogs(ULONG64 FdoDataAddr, ULONG Detail, ULONG Depth);
  49. VOID ClassDumpPrivatePacketLogs(ULONG64 FdoDataAddr, ULONG Detail, ULONG Depth);
  50. BOOLEAN ClassTryShowAllFDOs(ULONG Detail);
  51. extern char *g_genericErrorHelpStr;