Editar

Compartir a través de


SerCx2PioTransmitCleanupTransactionComplete function (sercx.h)

The SerCx2PioTransmitCleanupTransactionComplete method notifies version 2 of the serial framework extension (SerCx2) that serial controller driver has finished cleaning up the serial controller's hardware state after a PIO-transmit transaction.

Syntax

void SerCx2PioTransmitCleanupTransactionComplete(
  [in] SERCX2PIOTRANSMIT PioTransmit
);

Parameters

[in] PioTransmit

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

Return value

None

Remarks

After a PIO-transmit transaction ends, SerCx2 calls the EvtSerCx2PioTransmitCleanupTransaction event callback function, if it is implemented, to clean up the serial controller state. In response to this call, the driver should first do any clean-up work that is needed; then the driver must call SerCx2PioTransmitCleanupTransactionComplete to notify SerCx2. SerCx2 waits for this notification to start the next transaction.

The serial must call SerCx2PioTransmitCleanupTransactionComplete only in response to a call to the EvtSerCx2PioTransmitCleanupTransaction function.

For more information, see SerCx2 PIO-Transmit Transactions.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.1.
Target Platform Universal
Header sercx.h
IRQL <= DISPATCH_LEVEL

See also

EvtSerCx2PioTransmitCleanupTransaction

SERCX2PIOTRANSMIT

SerCx2PioTransmitCreate