次の方法で共有


HWGetModemStatus (Compact 2013)

3/26/2014

This function retrieves the modem status.

Syntax

VOID HWGetModemStatus(
  PVOID pContext,
  PULONG pModemStatus 
);

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.
  • pModemStatus
    [out] Pointer to a ULONG value in which this function stores the modem status. Values stored in pModemStatus are the same as the GetCommModemStatus function.

Return Value

None.

Remarks

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

Requirements

Header

serhw.h

See Also

Reference

Serial Port Driver PDD Functions
HWInit

Other Resources

GetCommModemStatus