MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit
Returns a string that describes the locale (country of origin), as specified in Internet RFC 1766, of the data set. For example, the locale could be "en-us", which is equivalent to "English (United States)".
HRESULT getLocale (
BSTR * pbstrLocale);
Parameters
pbstrLocale
[out]
A string specifying the locale (LCID) of the data set.
Return Codes
S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.
Comments
If you have Microsoft® Internet Explorer 4.0 installed, your registry key "HKEY_CLASSES_ROOT\MIME\Database\Rfc1766" contains the legal values for locale.