IOCTL_SERIAL_SET_HANDFLOW请求设置握手流控制的配置。 串行控制器驱动程序验证指定的握手流控制信息。 若要获取握手流控制信息,客户端可以使用IOCTL_SERIAL_GET_HANDFLOW请求。 有关握手流控制设置的详细信息,请参阅SERIAL_HANDFLOW。 主要代码 IRP_MJ_DEVICE_CONTROL ...
// 串口句柄IOCTL_SERIAL_GET_HANDFLOW,// IOCTL命令代码NULL,// 输入缓冲区0,// 输入缓冲区长度&serialHandFlow,// 输出缓冲区sizeof(SERIAL_HANDFLOW),// 输出缓冲区长度&bytesReturned,// 操作的字节数NULL// 重叠结构);if(result){// 成功获取串口流控制参数}else{// 失败处理}4.应用场景...
1...IOCTL_SERIAL_GET_HANDFLOW概述IOCTL_SERIAL_GET_HANDFLOW是一个IOCTL命令代码,它用于获取串口通讯接口的流控制参数。...使用IOCTL_SERIAL_GET_HANDFLOW在应用程序中,可以通过DeviceIoControl函数发送IOCTL_SERIAL_GET_HANDFLOW命令。...;BOOL result = DeviceIoControl( hSerial, // 串口句柄IOCTL_SERIAL_GET_HAN...
IOCTL_SERIAL_SET_HANDFLOW [X] [MS-RDPESP]0x001b0068 IOCTL_SERIAL_GET_MODEMSTATUS [X] [MS-RDPESP]0x001b006c IOCTL_SERIAL_GET_COMMSTATUS [X] [MS-RDPESP]0x001b0070 IOCTL_SERIAL_XOFF_COUNTER [X] [MS-RDPESP]0x001b0074 IOCTL_SERIAL_GET_PROPERTIES ...
IOCTL_SERIAL_SET_TIMEOUTS IOCTL IOCTL_SERIAL_SET_WAIT_MASK IOCTL IOCTL_SERIAL_SET_XOFF IOCTL IOCTL_SERIAL_SET_XON IOCTL IOCTL_SERIAL_WAIT_ON_MASK IOCTL IOCTL_SERIAL_XOFF_COUNTER IOCTL SERIAL_BAUD_RATE 结构 SERIAL_CHARS 结构 SERIAL_COMMPROP 结构 SERIAL_HANDFLOW 结构 SERIAL_LINE_CONTR...
IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS请求将串行设备设置为基本操作模式。 串行的基本操作模式一次读取和写入一个字节,不使用握手流控制或超时。 基本操作模式适合由使用 16550 UART 接口子集的驱动程序使用。 此类驱动程序的示例包括使用 16450 UART 的旧硬件的鼠标驱动程序或图形板驱动程序。
IOCTL_SERIAL_SET_XOFF IOCTL IOCTL_SERIAL_SET_XON IOCTL IOCTL_SERIAL_WAIT_ON_MASK IOCTL IOCTL_SERIAL_XOFF_COUNTER IOCTL SERIAL_BAUD_RATE structure SERIAL_CHARS structure SERIAL_COMMPROP structure SERIAL_HANDFLOW structure SERIAL_LINE_CONTROL structure SERIAL_QUEUE_SIZE structure SERIAL_STATUS structure ...
IOCTL_SERIAL_SET_TIMEOUTS IOCTL IOCTL_SERIAL_SET_WAIT_MASK IOCTL IOCTL_SERIAL_SET_XOFF IOCTL IOCTL_SERIAL_SET_XON IOCTL IOCTL_SERIAL_WAIT_ON_MASK IOCTL IOCTL_SERIAL_XOFF_COUNTER IOCTL SERIAL_BAUD_RATE structure SERIAL_CHARS structure SERIAL_COMMPROP structure SERIAL_HANDFLOW structure SERIAL_LINE_...
The IOCTL_SERIAL_SET_BAUD_RATE request sets the baud rate on a serial controller device. The serial controller driver verifies the specified baud rate.
IOCTL_SERIAL_SET_BREAK_OFF IOCTL IOCTL_SERIAL_SET_BREAK_ON IOCTL IOCTL_SERIAL_SET_CHARS IOCTL IOCTL_SERIAL_SET_DTR IOCTL IOCTL_SERIAL_SET_FIFO_CONTROL IOCTL IOCTL_SERIAL_SET_HANDFLOW IOCTL IOCTL_SERIAL_SET_LINE_CONTROL IOCTL IOCTL_SERIAL_SET_MODEM_CONTROL IOCTL IOCTL_SERIAL_SET_QUEUE_SIZE IOCT...