Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 3.64 KB

nf-sercx-sercx2systemdmatransmitdrainfifocomplete.md

File metadata and controls

78 lines (56 loc) · 3.64 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:sercx.SerCx2SystemDmaTransmitDrainFifoComplete
SerCx2SystemDmaTransmitDrainFifoComplete function (sercx.h)
The SerCx2SystemDmaTransmitDrainFifoComplete method notifies version 2 of the serial framework extension (SerCx2) that the serial controller driver has finished draining the data from the transmit FIFO in the serial controller hardware.
serports\sercx2systemdmatransmitdrainfifocomplete.htm
serports
04/23/2018
SerCx2SystemDmaTransmitDrainFifoComplete function
2/SerCx2SystemDmaTransmitDrainFifoComplete, SerCx2SystemDmaTransmitDrainFifoComplete, SerCx2SystemDmaTransmitDrainFifoComplete method [Serial Ports], serports.sercx2systemdmatransmitdrainfifocomplete
sercx.h
Universal
Available starting with Windows 8.1.
<= DISPATCH_LEVEL
Windows
SerCx2SystemDmaTransmitDrainFifoComplete
sercx/SerCx2SystemDmaTransmitDrainFifoComplete
APIRef
kbSyntax
COM
2.0\Sercx.h
SerCx2SystemDmaTransmitDrainFifoComplete

SerCx2SystemDmaTransmitDrainFifoComplete function

-description

The SerCx2SystemDmaTransmitDrainFifoComplete method notifies version 2 of the serial framework extension (SerCx2) that the serial controller driver has finished draining the data from the transmit FIFO in the serial controller hardware.

-parameters

-param SystemDmaTransmit

A SERCX2SYSTEMDMATRANSMIT handle to a PIO-transmit object. The serial controller driver previously called the SerCx2SystemDmaTransmitCreate method to create this object.

-remarks

SerCx2 calls the EvtSerCx2SystemDmaTransmitDrainFifo event callback function, if it is implemented, to drain the transmit FIFO at the end of a system-DMA-transmit transaction. This function makes sure that any data bytes that remain in the FIFO are transmitted from the serial port before SerCx2 completes the write (IRP_MJ_WRITE) request that initiated the transaction. After the last byte is transmitted from the FIFO, the serial controller driver must call the SerCx2SystemDmaTransmitDrainFifoComplete method to notify SerCx2. SerCx2 expects this notification and does not complete the write request until it is notified.

The serial controller must call SerCx2SystemDmaTransmitDrainFifoComplete only in response to a call to the EvtSerCx2SystemDmaTransmitDrainFifo function.

For more information, see SerCx2 System-DMA-Transmit Transactions.

-see-also

EvtSerCx2SystemDmaTransmitDrainFifo

IRP_MJ_WRITE

SERCX2SYSTEMDMATRANSMIT

SerCx2SystemDmaTransmitCreate