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.

87 lines
1.8 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1993 - 1999
  3. Module Name:
  4. parharns.h
  5. Abstract:
  6. This module contains 1284.3 Test Harness goodies.
  7. Author:
  8. Robbie Harris (Hewlett-Packard) 20-October-1998
  9. Environment:
  10. Kernel mode
  11. Revision History :
  12. --*/
  13. #ifndef _PARHARNS_
  14. #define _PARHARNS_
  15. #if PAR_TEST_HARNESS
  16. NTSTATUS
  17. ParHarnessLoad(
  18. IN PDEVICE_EXTENSION Extension
  19. );
  20. NTSTATUS
  21. ParHarnessEnterForwardPhase(
  22. IN PDEVICE_EXTENSION Extension
  23. );
  24. NTSTATUS
  25. ParHarnessExitForwardPhase(
  26. IN PDEVICE_EXTENSION Extension
  27. );
  28. NTSTATUS
  29. ParHarnessEnterReversePhase(
  30. IN PDEVICE_EXTENSION Extension
  31. );
  32. NTSTATUS
  33. ParHarnessExitReversePhase(
  34. IN PDEVICE_EXTENSION Extension
  35. );
  36. BOOLEAN
  37. ParHarnessHaveReadData (
  38. IN PDEVICE_EXTENSION Extension
  39. );
  40. NTSTATUS
  41. ParHarnessRead(
  42. IN PDEVICE_EXTENSION Extension,
  43. IN PVOID Buffer,
  44. IN ULONG BufferSize,
  45. OUT PULONG BytesTransferred
  46. );
  47. NTSTATUS
  48. ParHarnessSetAddress(
  49. IN PDEVICE_EXTENSION Extension,
  50. IN UCHAR Address
  51. );
  52. NTSTATUS
  53. ParHarnessWrite(
  54. IN PDEVICE_EXTENSION Extension,
  55. IN PVOID Buffer,
  56. IN ULONG BufferSize,
  57. OUT PULONG BytesTransferred
  58. );
  59. NTSTATUS
  60. ParHarnessUnload(
  61. IN PDEVICE_EXTENSION Extension
  62. );
  63. #endif // PAR_TEST_HARNESS
  64. #endif // _PARHARNS_