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.

47 lines
804 B

  1. //---- read.h
  2. NTSTATUS
  3. SerialRead(
  4. IN PDEVICE_OBJECT DeviceObject,
  5. IN PIRP Irp
  6. );
  7. NTSTATUS
  8. SerialStartRead(
  9. IN PSERIAL_DEVICE_EXTENSION Extension
  10. );
  11. VOID
  12. SerialCompleteRead(
  13. IN PKDPC Dpc,
  14. IN PVOID DeferredContext,
  15. IN PVOID SystemContext1,
  16. IN PVOID SystemContext2
  17. );
  18. VOID
  19. SerialCancelCurrentRead(
  20. PDEVICE_OBJECT DeviceObject,
  21. PIRP Irp
  22. );
  23. VOID
  24. SerialReadTimeout(
  25. IN PKDPC Dpc,
  26. IN PVOID DeferredContext,
  27. IN PVOID SystemContext1,
  28. IN PVOID SystemContext2
  29. );
  30. VOID
  31. SerialIntervalReadTimeout(
  32. IN PKDPC Dpc,
  33. IN PVOID DeferredContext,
  34. IN PVOID SystemContext1,
  35. IN PVOID SystemContext2
  36. );
  37. ULONG
  38. SerialGetCharsFromIntBuffer(
  39. PSERIAL_DEVICE_EXTENSION Extension
  40. );