Share via


IBDA_NameValueService::GetValue 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.]

Gets a value by name.

Syntax

HRESULT GetValue(
  [in]  BSTR bstrName,
  [in]  BSTR bstrLanguage,
  [out] BSTR *pbstrValue
);

Parameters

[in] bstrName

The name of the value to retrieve.

[in] bstrLanguage

The language for the value. If the value of the name/value pair is localizable, this string must contain an ISO 639-2 language code with a dash followed by an ISO 3166 country/region code. Otherwise, this parameter may contain an empty string.

[out] pbstrValue

Receives the value as a BSTR. The caller must free the BSTR by calling SysFreeString.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server Windows Server�2008�R2 [desktop apps only]
Target Platform Windows
Header bdaiface.h

See also

IBDA_NameValueService