IIsdbEmergencyInformationDescriptor::GetAreaCode method (dvbsiparser.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.]

Gets the area codes from an emergency information descriptor.

Syntax

HRESULT GetAreaCode(
  [in]  BYTE bRecordIndex,
  [out] WORD **ppwVal,
  [out] BYTE *pbNumAreaCodes
);

Parameters

[in] bRecordIndex

Zero-based index of the emergency information descriptor that contains the area code records. To get the number of area code records, call IIsdbEmergencyInformationDescriptor::GetCountOfRecords.

[out] ppwVal

Pointer to a buffer allocated to hold the area codes. The caller is responsible for freeing this memory.

[out] pbNumAreaCodes

Receives the number of area codes in the descriptor.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For more information about area codes and their use with emergency broadcast signals, refer to Annex D of the document titled SERVICE INFORMATION FOR DIGITAL BROADCASTING SYSTEM, ARIB STANDARD, ARIB STD-B10, Version 4.4.

Requirements

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

See also

IIsdbEmergencyInformationDescriptor

IIsdbEmergencyInformationDescriptor::GetCountOfRecords