Partager via


IFrequencyMap::put_FrequencyMapping

 
Microsoft DirectShow 9.0

IFrequencyMap::put_FrequencyMapping

The put_FrequencyMapping method sets the frequency table.

Syntax

  HRESULT put_FrequencyMapping(
    ULONG 
  ulCount
  ,
    ULONG 
  pList
  []
);

Parameters

  ulCount

[in]  Specifies the size of the array given in pList.

  pList

[in]  Address of an array of size ulCount, allocated by the caller. The array should contain a list of all the frequencies (in kHz) that are valid in the current country/region.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Applications can use this method to modify a frequency table or create new frequency tables. The changes are not stored by the Network Provider; the application must store the information itself and call put_FrequencyMapping each time the Network Provider is created.

Requirements

**  Header:** Include bdaiface.h.

See Also