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.

59 lines
1.9 KiB

  1. TYPEMACRO(LOGTIME, ItemTimeStamp);
  2. TYPEVMACRO(LOGADDR, ItemULongX, " %%%d!08x!");
  3. TYPEVMACRO(LOGPTR, ItemPtr, " %%%d!08x!");
  4. TYPEVMACRO(LOGSTATUS, ItemNTSTATUS, " %%%d!s!");
  5. TYPEVMACRO(LOGXLONG, ItemULongX, " %%%d!08x!");
  6. TYPEVMACRO(LOGLONG, ItemLong, " %%%d!d!");
  7. TYPEVMACRO(LOGULONG, ItemULong, " %%%d!u!");
  8. TYPEVMACRO(LOGUSHORT, ItemUShort, " %%%d!u!");
  9. TYPEVMACRO(LOGUCHAR, ItemUChar, " %%%d!d!");
  10. TYPEVMACRO(LOGBYTE, ItemUChar, " %%%d!d!");
  11. TYPEVMACRO(LOGUBYTE, ItemUChar, " %%%d!u!");
  12. TYPEMACRO(LOGBOOL, ItemListLong(FALSE,TRUE) );
  13. TYPEMACRO(LOGBOOLEAN, ItemListByte(FALSE,TRUE) );
  14. TYPEVMACRO(LOGULONGLONG, ItemULongLong, " %%%d!lu!");
  15. TYPEVMACRO(LOGXSHORT, ItemShort, " %%%d!x!");
  16. TYPEVMACRO(LOGHANDLE, ItemPtr, " %%%d!03x!");
  17. TYPEVMACRO(LOGIOCTL, ItemULongX, " %%%d!06x!");
  18. TYPEVMACRO(LOGGUID, ItemGuid, " %%%d!s!");
  19. TYPEVMACRO(LOGSLONG, ItemLong, " %%%d!d!");
  20. TYPEMACRO(LOGIRQL, ItemListByte(Low,APC,DPC) );
  21. TYPEMACRO(LOGARSTR, ItemRString);
  22. TYPEMACRO(LOGASTR, ItemString);
  23. TYPEMACRO(LOGWSTR, ItemWString);
  24. TYPEMACRO(LOGUSTR, ItemPWString);
  25. USEPREFIX(*, "[%9!x!].%3!03x!::%4 [%1] ", Dummy );
  26. TYPEMACRO(LOGIRQL, ItemListByte(Low,APC,DPC) );
  27. TYPEMACRO(LOGPNPMN, ItemListByte(
  28. IRP_MN_QUERY_REMOVE_DEVICE,
  29. IRP_MN_REMOVE_DEVICE,
  30. IRP_MN_CANCEL_REMOVE_DEVICE,
  31. IRP_MN_STOP_DEVICE,
  32. IRP_MN_QUERY_STOP_DEVICE,
  33. IRP_MN_CANCEL_STOP_DEVICE,
  34. IRP_MN_QUERY_DEVICE_RELATIONS,
  35. IRP_MN_QUERY_INTERFACE,
  36. IRP_MN_QUERY_CAPABILITIES,
  37. IRP_MN_QUERY_RESOURCES,
  38. IRP_MN_QUERY_RESOURCE_REQUIREMENTS,
  39. IRP_MN_QUERY_DEVICE_TEXT,
  40. IRP_MN_FILTER_RESOURCE_REQUIREMENTS,
  41. IRP_MN_PNP_14,
  42. IRP_MN_READ_CONFIG,
  43. IRP_MN_WRITE_CONFIG,
  44. IRP_MN_EJECT,
  45. IRP_MN_SET_LOCK,
  46. IRP_MN_QUERY_ID,
  47. IRP_MN_QUERY_PNP_DEVICE_STATE,
  48. IRP_MN_QUERY_BUS_INFORMATION,
  49. IRP_MN_DEVICE_USAGE_NOTIFICATION,
  50. IRP_MN_SURPRISE_REMOVAL) );
  51. AUTOGEN(ItemListLong, LOGULONG);
  52. AUTOGEN(ItemListShort, LOGUSHORT);
  53. AUTOGEN(ItemListByte, LOGUBYTE);