HWPurgeComm

This function purges the communications device.

Syntax

VOID HWPurgeComm( PVOID pContext, DWORD fdwAction );

Parameters

pContext
Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the hardware device.
fdwAction
One of the following values:

Return Values

None.

Remarks

This function purges the serial device according to Win32 semantics for the following:

This function is part of 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