Microsoft DirectX 8.0

IDVBTuneRequest Interface

This interface is implemented on the DVBTuneRequest object.

ITuneRequest Method NameDescription
get_TuningSpaceRetrieves the Tuning Space object.
get_ComponentsRetrieves the collection of IComponent objects.
CloneReturns a new copy of this tune request.
get_LocatorCalled from the Network Provider to get the ILocator object associated with the requested broadcast.
put_LocatorCalled from the Network Provider to set the ILocator object associated with the requested broadcast.
IDVBTuneRequest Method NameDescription
get_ONIDRetrieves the original network ID.
get_SIDSets the service ID.
get_TSIDRetrieves the transport stream ID.
put_ONIDSets the original network ID.
put_SIDRetrieves the service ID.
put_TSIDSets the transport stream ID.

IDVBTuneRequest::get_ONID

IDVBTuneRequest Interface

Retrieves the original network ID.

Syntax

HRESULT get_ONID(
    short* ONID
    );

Parameters

ONID
[out, retval] Pointer to a variable of type short that receives the original network ID.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

IDVBTuneRequest::get_SID

IDVBTuneRequest Interface

Retrieves the service ID for the network.

Syntax

HRESULT get_SID(
    short* SID
    );

Parameters

SID
[out, retval] Pointer to a variable of type short that receives the service ID.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

IDVBTuneRequest::get_TSID

IDVBTuneRequest Interface

Retrieves the transport stream ID.

Syntax

HRESULT get_TSID(
    short* TSID
    );

Parameters

TSID
[out, retval] Pointer to a variable of type short that receives the transport stream ID.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

IDVBTuneRequest::put_ONID

IDVBTuneRequest Interface

Sets the original network ID.

Syntax

HRESULT put_ONID(
    short ONID
    );

Parameters

ONID
[in] Variable of type short that specifies the original network ID.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

IDVBTuneRequest::put_SID

IDVBTuneRequest Interface

Sets the service ID.

Syntax

HRESULT put_SID(
    short SID
    );

Parameters

SID
[in] Variable of type short that specifies the service ID.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

IDVBTuneRequest::put_TSID

IDVBTuneRequest Interface

Sets the transport stream ID.

Syntax

HRESULT put_TSID(
    short TSID
    );

Parameters

TSID
[in] Variable of type short that specifies the transport stream ID.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.