![]() ![]() No standard register layout is defined for the modem control operations. The IOCTL_SERIAL_GET_MODEM_CONTROL and IOCTL_SERIAL_SET_MODEM_CONTROL requests are used primarily for hardware testing. For more information, see SERIAL_HANDFLOW. SerCx2 and SerCx support only subsets of the flags defined for the FlowReplace and ControlHandShake members of the SERIAL_HANDFLOW structure. For an IOCTL_SERIAL_GET_CHARS request, SerCx2 sets all the character values in the SERIAL_CHARS structure to null, and completes the request with a STATUS_SUCCESS status code. SerCx2 always completes an IOCTL_SERIAL_SET_CHARS request with a STATUS_SUCCESS status code, but does not set any special characters or perform any other operation in response to this request. SerCx2 does not support special characters. SerCx2 may or may not support this IOCTL depending on the implementation of the serial controller driver and the capabilities of the serial controller hardware. ![]() IOCTL_SERIAL_SET_MODEM_CONTROL (See note 4.) IOCTL_SERIAL_GET_MODEM_CONTROL (See note 4.) A Yes entry in the table indicates that the serial framework extension or driver supports the corresponding IOCTL, and a No entry indicates that it does not. The following table summarizes the subsets of IOCTLs that are supported by SerCx2, SerCx, and Serial.sys. However, SerCx2, SerCx, and Serial.sys support different subsets of the IOCTLs specified in Serial Device Control Requests. SerCx2, SerCx, and Serial.sys support many of the same serial IOCTLs. This interface is supported by the Serial.sys driver, and by the combination of SerCx2 or SerCx and an extension-based serial controller driver. The serial IRP_MJ_ XXX requests and serial IOCTLs together form a serial I/O request interface that is supported across a range of serial controller devices. ![]() In addition, Windows defines a set of serial I/O control requests (IOCTLs) that a client can use to configure a serial port. A client uses IRP_MJ_WRITE and IRP_MJ_READ requests to transmit data to and receive data from a serial port. To control a peripheral device that is connected to a port on a serial controller, a client application or peripheral device driver sends I/O requests to the port. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |