IBDA_NameValueService::GetValueNameByIndex 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 name, specified by index, from the device's list of name/value pairs.

Syntax

HRESULT GetValueNameByIndex(
  [in]  ULONG ulIndex,
  [out] BSTR  *pbstrName
);

Parameters

[in] ulIndex

The zero-based index of the name to get.

[out] pbstrName

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

Return value

This method can return one of these values.

Return code Description
S_OK
The method succeeded.
BDA_E_OUT_OF_BOUNDS
The ulIndex parameter is out of bounds.

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