共用方式為


IDvbServiceDescriptor Interface

 
Microsoft DirectShow 9.0

IDvbServiceDescriptor Interface

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The IDvbServiceDescriptor interface enables the client to get a service descriptor from a DVB stream. The service descriptor may be present in the service description table (SDT). For more information, refer to ETSI EN 300 468.

In addition to the methods inherited from IUnknown, the IDvbServiceDescriptor interface exposes the following methods.

Method Description
GetLength Returns the length of the descriptor body.
GetProcessedServiceName Returns the service name converted into a readable string.
GetServiceName Returns the raw service name.
GetServiceNameEmphasized Returns the emphasized version of the service name.
GetServiceProviderName Returns the raw service provider name.
GetServiceProviderNameW Returns the service provider name converted into a readable string.
GetServiceType Returns the service type.
GetTag Returns the descriptor tag.

To obtain a pointer to this interface, do the following:

  1. Call IDvbSiParser::GetSDT to get the IDVB_SDT interface.
  2. Call IDVB_SDT::GetRecordDescriptorByTag and pass in the logical channel descriptor tag (0x47). If the descriptor is present, the method returns an IGenericDescriptor pointer.
  3. Query the returned IGenericDescriptor pointer for the IDvbServiceDescriptor interface.

Requirements

Header: Include dvbsiparser.h.

See Also