IDvbSiParser::GetNIT 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 GetNIT method retrieves the network information table (NIT).
Syntax
HRESULT GetNIT(
[in] TID tableId,
[in] WORD *pwNetworkId,
[out] IDVB_NIT **ppNIT
);
Parameters
[in] tableId
Specifies the table identifier of the NIT. Use one of the values in the following table.
Value | Description |
---|---|
DVB_NIT_ACTUAL_TID (0x40) | NIT for the network that carries this transport stream. |
DVB_NIT_OTHER_TID (0x41) | NIT for another network. |
[in] pwNetworkId
Optional parameter that contains a network identifier. You can use this value to filter the request. Otherwise, set this parameter to NULL.
[out] ppNIT
Address of a variable that receives an IDVB_NIT 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. |
|
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 |