IATSC_MGT Interface

 
Microsoft DirectShow 9.0

IATSC_MGT Interface

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

The IATSC_MGT interface enables the client to get data from a master guide table (MGT). The MGT describes the program guide information and service information that is delivered in a transport stream, including the table types, the packet identifiers, and the version numbers. The IAtscPsipParser::GetMGT method returns a pointer to this interface.

The MGT may contain one or more table-wide descriptors. In addition, each record in the MGT may have one or more descriptors. To get the table-wide descriptors, use the GetTableDescriptorByIndex method or the GetTableDescriptorByTag method. To get the record descriptors, use the GetRecordDescriptorByIndex method or the GetRecordDescriptorByTag method.

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

Method Description
GetCountOfRecords Returns the number of records in the MGT.
GetCountOfTableDescriptors Returns the number of table-wide descriptors in the MGT.
GetProtocolVersion Returns the protocol version of the table.
GetRecordCountOfDescriptors Returns the number of descriptors for a record in the MGT.
GetRecordDescriptorByIndex Returns a descriptor for a specified record in the MGT.
GetRecordDescriptorByTag Searches a record in the MGT for a descriptor with a specified descriptor tag.
GetRecordType Returns the table type for a record in the MGT.
GetRecordTypePid Returns the packet identifier (PID) for the table type described by a record in the MGT.
GetRecordVersionNumber Returns the version number for the table type described by a record in the MGT.
GetTableDescriptorByIndex Returns a table-wide descriptor for the MGT.
GetTableDescriptorByTag Searches the MGT for a table-wide descriptor with the specified descriptor tag.
GetVersionNumber Returns the version number for the MGT.
Initialize Initializes the object.

Requirements

Header: Include atscpsipparser.h.

See Also