DiMgslCancelTransmit


Prototype  
NTSTATUS DiMgslCancelTransmit( void *Handle );
Parameters  
Handle Handle to open port
Return Value  
STATUS_SUCCESS
Success
STATUS_INVALID_HANDLE
Handle is invalid

Cancel pending transmits.

HDLC

The current frame is terminated with an abort sequence and buffered transmit frames are discarded. After the abort completes, the TransmitComplete callback is called with TxStatus_Cancel. For HDLC/SDLC Loop Mode, this call places the port in repeat mode, where the receive data input is echoed to the transmit data output.

Asynchronous

Pending transmit data is discarded.

If no transmit is pending, this call has no effect. A transmission may complete normally just after calling this function but before actually canceling the transmission. The transmitter remains active, sending idle characters until more data is sent or the transmitter is explicitly disabled with DiMgslEnableTransmitter.


Previous Contents Next