共用方式為


IFrequencyMap::get_FrequencyMapping

 
Microsoft DirectShow 9.0

IFrequencyMap::get_FrequencyMapping

The get_FrequencyMapping method returns the Network Provider filter's current frequency table.

Syntax

  HRESULT get_FrequencyMapping(
    ULONG *
  pulCount
  ,
    ULONG **
  ppulList
  
);

Parameters

  pulCount

[out]  Pointer to a variable that receives the size of the frequency table.

  ppulList

[out]  Pointer to a variable that receives the address of the frequency table. The frequency table is an array of size pulCount, allocated by the method. The caller must free the array by calling CoTaskMemFree.

Return Values

Each entry in the frequency table is a tuning frequency, in kilohertz (kHz).

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

Requirements

**  Header:** Include bdaiface.h.

See Also