IBDA_NameValueService::SetValue 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.]
Sets a name/value pair in device memory.
Syntax
HRESULT SetValue(
[in] ULONG ulDialogRequest,
[in] BSTR bstrLanguage,
[in] BSTR bstrName,
[in] BSTR bstrValue,
[in] ULONG ulReserved
);
Parameters
[in] ulDialogRequest
Specifies a logical link with a user interface (MMI) dialog box that might be triggered by setting the value.
[in] bstrLanguage
The language of the dialog box. This string contains an ISO 639-2 language code with a dash followed by an ISO 3166 country/region code.
[in] bstrName
The name of the name/value pair to set.
[in] bstrValue
The value to set.
[in] ulReserved
Reserved. Set to zero.
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 |