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.

68 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name:
  4. tracecom.h
  5. Abstract:
  6. This module traces serial IRP's.
  7. The following function needs to be linked in with this module:
  8. void TraceCOMProtocol(TCHAR *format, ...);
  9. Author:
  10. Tad Brockway (tadb) 28-June-1999
  11. Revision History:
  12. --*/
  13. #ifndef __TRACECOM_H__
  14. #define __TRACECOM_H__
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. //////////////////////////////////////////////////////////////////////
  19. //
  20. // Tracing Macros for TS Client.
  21. //
  22. //
  23. // Trace out the specified serial irp request.
  24. //
  25. void TraceSerialIrpRequest(
  26. ULONG deviceID,
  27. ULONG majorFunction,
  28. ULONG minorFunction,
  29. PBYTE inputBuf,
  30. ULONG outputBufferLength,
  31. ULONG inputBufferLength,
  32. ULONG ioControlCode
  33. );
  34. //
  35. // Trace out the specified serial irp response.
  36. //
  37. void TraceSerialIrpResponse(
  38. ULONG deviceID,
  39. ULONG majorFunction,
  40. ULONG minorFunction,
  41. PBYTE outputBuf,
  42. ULONG outputBufferLength,
  43. ULONG inputBufferLength,
  44. ULONG ioControlCode,
  45. ULONG status
  46. );
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50. #endif