SerCx2CustomTransmitTransactionInitializeComplete function (sercx.h)

The SerCx2CustomTransmitTransactionInitializeComplete method informs version 2 of the serial framework extension (SerCx2) that the serial driver has finished initializing the serial controller and associated hardware in preparation for a new custom-transmit transaction.

Syntax

void SerCx2CustomTransmitTransactionInitializeComplete(
  [in] SERCX2CUSTOMTRANSMITTRANSACTION CustomTransmitTransaction,
  [in] BOOLEAN                         InitSuccess
);

Parameters

[in] CustomTransmitTransaction

A SERCX2CUSTOMTRANSMITTRANSACTION handle to a custom-transmit object. The serial controller driver previously called the SerCx2CustomTransmitTransactionCreate method to create this object.

[in] InitSuccess

Whether the initialization was successful. If TRUE, the initialization succeeded. If FALSE, the initialization failed.

Return value

None

Remarks

Before SerCx2 starts a custom-transmit transaction, SerCx2 calls the EvtSerCx2CustomTransmitTransactionInitialize event callback function, if it is implemented, to initialize the serial controller to perform the transaction. In response to this call, the driver should first do any initialization that is needed; then the driver must call SerCx2CustomTransmitTransactionInitializeComplete to notify SerCx2. SerCx2 expects this notification and does not start the transaction until it is notified.

The serial controller driver must call SerCx2CustomTransmitTransactionInitializeComplete only in response to a call to the EvtSerCx2CustomTransmitTransactionInitialize function.

For more information, see SerCx2 Custom-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

EvtSerCx2CustomTransmitTransactionInitialize

SERCX2CUSTOMTRANSMITTRANSACTION

SerCx2CustomTransmitTransactionCreate