Share via


HWGetStatus (Windows CE 5.0)

Send Feedback

This function specifies the hardware status API.

ULONG HWGetStatus(PVOIDpContext,LPCOMSTATlpStat);

Parameters

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

Return Values

Zero indicates success. A value of –1 indicates failure.

Remarks

See ClearCommError for a description of lpStat.

This function supports the implementation of the lower layers of serial port drivers.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Serhw.h.

See Also

ClearCommError | COMSTAT | HWInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.