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.

45 lines
960 B

  1. /*++
  2. Copyright 2000 Microsoft Corporation
  3. Module Name:
  4. usbglitch.h
  5. Abstract:
  6. This module contains the USB glitch detector event tracing definitions.
  7. Author:
  8. Arthur Zwiegincew (arthurz) 08-Jan-01
  9. Revision History:
  10. 08-Jan-01 - Created
  11. --*/
  12. // {7142FDF3-6FAE-40d3-A2AC-F912C039848D}
  13. static const GUID GUID_USBAUDIOSTATE =
  14. { 0x7142fdf3, 0x6fae, 0x40d3, { 0xa2, 0xac, 0xf9, 0x12, 0xc0, 0x39, 0x84, 0x8d } };
  15. typedef enum _USBAUDIOSTATE {
  16. DISABLED = 0,
  17. ENABLED = 1,
  18. STREAM = 2,
  19. GLITCH = 3,
  20. ZERO = 4
  21. } USBAUDIOSTATE;
  22. typedef struct _PERFINFO_CORE_USBAUDIOSTATE {
  23. ULONGLONG cycleCounter;
  24. USBAUDIOSTATE usbAudioState;
  25. int numberOfFrames;
  26. } PERFINFO_CORE_USBAUDIOSTATE, *PPERFINFO_CORE_USBAUDIOSTATE;
  27. typedef struct _PERFINFO_WMI_USBAUDIOSTATE {
  28. EVENT_TRACE_HEADER header;
  29. PERFINFO_CORE_USBAUDIOSTATE data;
  30. } PERFINFO_WMI_USBAUDIOSTATE, *PPERFINFO_WMI_USBAUDIOSTATE;