IFrequencyMap::get_DefaultFrequencyMapping method (bdaiface.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The get_DefaultFrequencyMapping method returns the default frequency table for a given country/region code. This method returns the frequency table, but does not set the country/region code on Network Provider. The Network Provider continues to use the same frequency table it was using before the method was called.
Syntax
HRESULT get_DefaultFrequencyMapping(
[in] ULONG ulCountryCode,
[out] ULONG *pulCount,
[out] ULONG **ppulList
);
Parameters
[in] ulCountryCode
Specifies the country/region code.
[out] pulCount
Pointer to a variable that receives the size of the frequency table.
[out] ppulList
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 value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Each entry in the frequency table is a tuning frequency, in kilohertz (kHz).
For a list of country/region codes, see Country/Region Assignments.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | bdaiface.h |