HWGetModemStatus

This function retrieves the modem status.

Syntax

VOID HWGetModemStatus( PVOID pContext, PULONG pModemStatus );

Parameters

pContext
Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the hardware device.
pModemStatus
[OUT] Pointer to a ULONG value in which this function stores the modem status.

Return Values

None. Values stored in pModemStatus are the same as the Windows CE function GetCommModemStatus.

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