IDvbSiParser::GetBAT 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.]
This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The GetBAT method retrieves the bouquet association table (BAT).
Syntax
HRESULT GetBAT(
[in] WORD *pwBouquetId,
[out] IDVB_BAT **ppBAT
);
Parameters
[in] pwBouquetId
Optional parameter that contains a bouquet identifier. You can use this value to filter the request. Otherwise, set this parameter to NULL.
[out] ppBAT
Address of a variable that receives an IDVB_BAT 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 |
---|---|
|
NULL pointer argument. |
|
The filter did not receive the table in the allotted time. |
|
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 | dvbsiparser.h |