Share via


RILGAININFO (Windows Embedded CE 6.0)

1/6/2010

This structure stores audio gain information.

Syntax

typedef struct {
  DWORD cbSize;
  DWORD dwParams;
  DWORD dwTxGain;
  DWORD dwRxGain;
} RILGAININFO;

Members

  • cbSize
    Structure size in bytes.
  • dwParams
    Specifies valid parameters. Must be one or a combination of the RILGAININFO parameter constants.
  • dwTxGain
    Specifies transmit gain level.
  • dwRxGain
    Specifies receive gain level.

Remarks

The minimum and maximum values for both dwTxGain and dwRxGain are 0 and ULONG_. Values between these extremes scale linearly. The RIL driver is responsible for scaling these values to match whatever is appropriate for the corresponding radio. For example, if a radio's gain range is from 0 to 0x1F, the RIL driver should interpret 0xFFFFFFFF as 0x1F, and map intermediate values proportionately.

Requirements

Header ril.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

RIL Structures
RIL_GetAudioGain
RIL_SetAudioGain
RILGAININFO Parameter Constants