Share via


ISCTE_EAS::GetAlertText method (atscpsipparser.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.]

The GetAlertText method gets the alert text for a specified ISO 639 language code.

Syntax

HRESULT GetAlertText(
  [in]  BSTR bstrIS0639code,
  [out] BSTR *pbstrString
);

Parameters

[in] bstrIS0639code

The ISO 639 language code.

[out] pbstrString

Receives the alert text as a BSTR. The caller must free the string by calling SysFreeString.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_FAIL
The specified language is not present.

Remarks

The returned string is taken from the alert_text field, as defined by ANSI-J-STD-042-A.

Note��An earlier version of the documentation gave an incorrect signature for this method.

Requirements

Requirement Value
Minimum supported client Windows�Vista [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header atscpsipparser.h

See also

ISCTE_EAS Interface