HWGetRxBufferSize

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

Syntax

ULONG HWGetRxBufferSize( PVOID pContext );

Parameters

pContext
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 PDDs of serial port drivers. This function is defined in the header file SerHW.h, and is available in Windows CE version 1.0 and later.

See Also

HWInit