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.

27 lines
586 B

  1. //--- ioctl.h
  2. NTSTATUS
  3. SerialIoControl(
  4. IN PDEVICE_OBJECT DeviceObject,
  5. IN PIRP Irp
  6. );
  7. PSERIAL_DEVICE_EXTENSION
  8. FindDevExt(IN PCHAR PortName);
  9. NTSTATUS
  10. ProgramBaudRate(
  11. IN PSERIAL_DEVICE_EXTENSION Extension,
  12. IN ULONG DesiredBaudRate
  13. );
  14. NTSTATUS
  15. ProgramLineControl(
  16. IN PSERIAL_DEVICE_EXTENSION Extension,
  17. IN PSERIAL_LINE_CONTROL Lc
  18. );
  19. NTSTATUS
  20. SerialInternalIoControl(IN PDEVICE_OBJECT PDevObj, IN PIRP PIrp);
  21. void SerialSetHandFlow(PSERIAL_DEVICE_EXTENSION Extension,
  22. SERIAL_HANDFLOW *HandFlow);