HWGetRxBufferSize

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

ULONG HWGetRxBufferSize(
  PVOID pContext 
);

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the hardware 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, and provides additional room to allow flow control.

Requirements

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

See Also

HWInit

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.