Microsoft DirectX 9.0


The get_CountryCodeList method returns a list of all the country/region codes for which the Network Provider has a frequency table.


HRESULT get_CountryCodeList(
    ULONG *pulCount,
    ULONG **ppulList



[out]  Pointer to a variable that receives the number of country/region codes.


[out]   Pointer to a variable that receives the address of an array of size pulCount, allocated by the method. The array contains a list of the country/region codes. The caller must free the array by calling CoTaskMemFree.

Return Values

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


For a list of country/region codes, see Country/Region Assignments.

See Also