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.

53 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. kmpioctl.h
  5. Abstract:
  6. Definitions of IOCTL codes and data structures exported by TRACEKMP.
  7. Author:
  8. Jee Fung Pang (jeepang) 03-Dec-1997
  9. Revision History:
  10. --*/
  11. #ifndef __TRACEKMP_IOCTL__
  12. #define __TRACEKMP_IOCTL__
  13. //
  14. // IOCTL control codes
  15. //
  16. #define IOCTL_TRACEKMP_TRACE_EVENT \
  17. CTL_CODE( FILE_DEVICE_UNKNOWN, 0x801, \
  18. METHOD_BUFFERED, FILE_ANY_ACCESS )
  19. #define IOCTL_TRACEKMP_START \
  20. CTL_CODE( FILE_DEVICE_UNKNOWN, 0x802, \
  21. METHOD_BUFFERED, FILE_ANY_ACCESS )
  22. #define IOCTL_TRACEKMP_STOP \
  23. CTL_CODE( FILE_DEVICE_UNKNOWN, 0x803, \
  24. METHOD_BUFFERED, FILE_ANY_ACCESS )
  25. #define IOCTL_TRACEKMP_QUERY \
  26. CTL_CODE( FILE_DEVICE_UNKNOWN, 0x804, \
  27. METHOD_BUFFERED, FILE_ANY_ACCESS )
  28. #define IOCTL_TRACEKMP_UPDATE \
  29. CTL_CODE( FILE_DEVICE_UNKNOWN, 0x805, \
  30. METHOD_BUFFERED, FILE_ANY_ACCESS )
  31. #define IOCTL_TRACEKMP_FLUSH \
  32. CTL_CODE( FILE_DEVICE_UNKNOWN, 0x806, \
  33. METHOD_BUFFERED, FILE_ANY_ACCESS )
  34. #endif // __TRACEKMP_IOCTL__