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.

42 lines
737 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. ENUMLOG.H
  5. Abstract:
  6. structures for enumeration logging in USB client drivers using
  7. usbport bus interface function.
  8. Environment:
  9. Kernel & user mode
  10. Revision History:
  11. 12-19-01 : created
  12. --*/
  13. #ifndef __ENUMLOG_H__
  14. #define __ENUMLOG_H__
  15. /*
  16. driver tags
  17. */
  18. #define USBDTAG_HUB 'hbsu'
  19. #define USBDTAG_USBPORT 'pbsu'
  20. #define ENUMLOG(businterface, driverTag, sig, param1, param2) \
  21. (businterface)->EnumLogEntry((businterface)->BusContext,\
  22. driverTag,\
  23. sig, \
  24. (ULONG) param1, \
  25. (ULONG) param2)
  26. #endif //__ENUMLOG_H__