


IRIP 2.1.4 SERIAL SERIAL
Serial also cancels a request if a device error occurs and Serial is configured to cancel a request if there is a device error. The Status member is set to one of the following status values: Status valueĪ client canceled the request. When sentĪ client uses a flush request to determine when Serial has completed all write requests the client sent before the flush request. The IRP_MJ_FLUSH_BUFFER request flushes the internal write buffer of a serial device. When sentĪ client uses device control requests to:įor a description of the device control requests supported by Serial, see the ntddser.h header. The IRP_MJ_DEVICE_CONTROL request operates a serial port. A serial device is an exclusive device only one file can be open on a port at any given time. The interrupt assigned to the device is in use by another open device.Ī serial device must be opened before it can be used. Serial queued the request for later processing. The device is not in a Plug and Play Started state, or the driver could not allocate an internal data structure.Ī serial device cannot be opened as a directory. Serial is in the process of removing the device. The serial device was successfully opened. The Status field is set to one of the following values: Status value When sentĪ client must open a serial device before it can access the port or a device connected to the port. The IRP_MJ_CREATE request opens a serial device. Header: Wdm.h (include Wdm.h or Ntddk.h) IRP_MJ_CREATE This topic documents the serial IRP major function codes.
