次の方法で共有


RIL_GetSerialPortStatistics (Compact 2013)

3/26/2014

This function retrieves a serial port handle statistics.

Syntax

HRESULT RIL_GetSerialPortStatistics(
  HRIL hRil,
  RILSERIALPORTSTATS* lpSerialPortStats
);

Parameters

Return Value

An HRESULT value of S_OK indicates success. HRESULT values of E_XXX indicate an error. Errors are defined in the winerror.h file.

Remarks

This function is synchronous. An asynchronous result callback is not returned. The parameter lphSerialPortStats points to the final result.

The RIL proxy translates the RIL_GetSerialPortStatistics function into IOCTL_RIL_GetSerialPortStatistics when the RIL proxy calls RIL_IOControl.

Requirements

Header

ril.h

Library

Ril.lib

See Also

Reference

RIL Functions
RILSERIALPORTSTATS