Share via


ISCTE_EAS::GetEASEventCode 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 GetEASEventCode method returns the EAS event code.

Syntax

HRESULT GetEASEventCode(
  [out] BYTE *pbVal
);

Parameters

[out] pbVal

A pointer to a buffer that receives the EAS_event_code field. The caller must allocate the buffer, which must be large enough to hold the event code. To get the required size of the buffer, call ISCTE_EAS::GetEASEventCodeLen. The event code consists of ASCII characters.

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

GetEASEventCodeLen

ISCTE_EAS Interface