IAtscPsipParser::GetVCT 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.]
This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The GetVCT method retrieves the virtual channel table (VCT).
Syntax
HRESULT GetVCT(
[in] TID tableId,
[in] BOOL fGetNextTable,
[out] IATSC_VCT **ppVCT
);
Parameters
[in] tableId
Specifies the table identifier (TID) of the VCT. Use one of the following values, declared in mpeg2data.h.
Value | Description |
---|---|
ATSC_VCT_CABL_TID (0xC9) | Cable |
ATSC_VCT_TERR_TID (0xC8) | Terrestrial |
[in] fGetNextTable
Boolean value that indicates whether to search for the current table or the next table. If the value is TRUE, the method searches for a table with the current_next_indicator flag set to 1. Otherwise, the method searches for a table with the current_next_indicator flag set to 0.
[out] ppVCT
Receives an IATSC_VCT interface pointer. The caller must release the interface.
Return value
The method returns an HRESULT. Possible values include those in the following table.
Return code | Description |
---|---|
|
Invalid argument. |
|
Insufficient memory. |
|
NULL pointer argument. |
|
The filter did not receive the table in the allotted time. |
|
The Initialize method was not called. |
|
The method succeeded. |
Remarks
The method fails if the filter does not receive a matching table within a predetermined length of time.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | atscpsipparser.h |