Partager via


HWGetRxBufferSize (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

ULONG HWGetRxBufferSize(
  PVOID pContext 
);

Parameters

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

Return Value

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

Header serhw.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Serial Port Driver PDD Functions
HWInit