次の方法で共有


RIL_GetDriverVersion (Compact 2013)

3/26/2014

This function retrieves the driver version information.

Syntax

HRESULT RIL_GetDriverVersion(
  HRIL hRil,
  DWORD *pdwVersion
);

Parameters

  • pdwVersion
    A pointer to the version number. The high-order word is the major version number and the low-order word is the minor version number. Use the HIWORD and LOWORD macros to retrieve major and minor version numbers respectively.

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 pdwVersion points to the final result.

The RIL proxy translates the RIL_GetDriverVersion function into IOCTL_RIL_GETDRIVERVERSION when the RIL proxy calls RIL_IOControl.

Requirements

Header

ril.h

Library

Ril.lib

See Also

Reference

RIL Functions