Windows Driver Kit: Serial Devices
IOCTL_SERIAL_SET_MODEM_CONTROL

Operation

The IOCTL_SERIAL_SET_MODEM_CONTROL request sets the modem control register. Parameter checking is not done.

To obtain the value of the modem control register, a client can use an IOCTL_SERIAL_GET_MODEM_CONTROL request.

For information about modem control register settings, see the constants SERIAL_MCR_DTR through SERIAL_MCR_LOOP, which are defined in the header file \src\kernel\serial\serial.h in the Microsoft Windows Driver Kit (WDK).

Input

The AssociatedIrp.SystemBuffer points to a client-allocated ULONG that is used to input modem control information.

The Parameters.DeviceIoControl.InputBufferLength is set to the size in bytes of a ULONG.

Output

None.

I/O Status Block

The Information member is set to zero.

The Status member is set to one of the Generic Status Values for Serial Device Control Requests.

Requirements

Headers: Defined in ntddser.h. Include ntddser.h.

See Also

IOCTL_SERIAL_GET_MODEM_CONTROL


Send feedback on this topic
Built on November 19, 2009
Page view tracker