HWOpen

This function is called by the MDD layer to open the serial device.

Syntax

BOOL HWOpen( 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

TRUE indicates success. FALSE indicates failure.

Remarks

This function applies power to the serial hardware. This function is part of the implementation of the PDDs of the 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