Compartilhar via


HWGetRxBufferSize (Windows CE 5.0)

Send Feedback

This function returns the maximum number of bytes that the hardware buffer can hold, not including the padding, stop, and start bits.

ULONG HWGetRxBufferSize(PVOIDpContext);

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.

Return Values

Returns the number of bytes in the hardware-receive queue.

Remarks

This function supports the implementation of the lower layers of serial port drivers. The serial port driver's upper layer ensures that the receiving holding buffer is large enough to store data for at least one hardware buffer. The upper layer also provides additional room to allow flow control.

Requirements

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

See Also

HWInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.