Freigeben über


ISCTE_EAS::GetLocationCodes 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 GetLocationCodes method returns location codes from the EAS table.

Syntax

HRESULT GetLocationCodes(
  [in]  BYTE bIndex,
  [out] BYTE *pbState,
  [out] BYTE *pbCountySubdivision,
  [out] WORD *pwCounty
);

Parameters

[in] bIndex

The zero-based index of the location codes to retrieve. Call ISCTE_EAS::GetLocationCount to get the number of locations.

[out] pbState

Receives the state_code field.

[out] pbCountySubdivision

Receives the county_subdivision field.

[out] pwCounty

Receives the county_code field.

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_OUT_OF_BOUNDS
Index out of range.
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