HWTxIntrHandler (Windows CE 5.0)

Send Feedback

This function handles the transmit interrupt for serial port devices.

VOID HWTxIntrHandler(PVOID pContext, PUCHAR pSourceBuffer, PULONG pByteNumber );

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.
  • pSourceBuffer
    [in] Pointer to the source buffer that contains data to be sent.
  • pByteNumber
    [out] When HWTxIntrHandler is called, pByteNumber points to the maximum number of bytes to send. When HWTxIntrHandler returns, pByteNumber points to the actual number of bytes sent.

Return Values

None.

Remarks

This function clears the transmit interrupt status bit in the hardware and performs necessary maintenance so that the HWPutBytes function can send data. It is called when the driver detects a transmit interrupt, which is set by the HWGetIntrType function.

This function sends several characters to the hardware transmission buffer from the source buffer. This function is called in response to a transmit interrupt notice from the HWGetIntrType function.

This function supports the implementation of the lower layers of serial port drivers.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Serhw.h.

See Also

HWGetIntrType | HWInit | HWPutBytes

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.