ISCTE_EAS::GetDuration 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 GetDuration method returns the expected duration of the alert.

Syntax

HRESULT GetDuration(
  [out] WORD *pwVal
);

Parameters

[out] pwVal

Receives the event_duration field. The value of the field is the expected duration in minutes, most significant bit first.

Return value

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

Return code Description
MPEG2_E_UNINITIALIZED
The ISCTE_EAS::Initialize method was not called.
S_OK
The method succeeded.

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