|Microsoft DirectX 9.0|
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.
HRESULT get_DefaultFrequencyMapping( ULONG ulCountryCode, ULONG *pulCount, ULONG **ppulList );
[in] Specifies the country/region code.
[out] Pointer to a variable that receives the size of the frequency table.
[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.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Each entry in the frequency table is a tuning frequency, in kilohertz (kHz).
For a list of country/region codes, see Country/Region Assignments.