Microsoft DirectX 9.0

ITuneRequestInfo::GetPreviousProgram

The GetPreviousProgram method creates a new tune request with channel or program locator information for the previous service.

Syntax

HRESULT GetPreviousProgram(
  ITuneRequest*  pCurrentRequest,
  ITuneRequest**  ppTuneRequest
);

Parameters

pCurrentRequest

[in]  Specifies the current request.

ppTuneRequest

[out]  Pointer to a variable that receives a tune request for the previous service in the current transport stream.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Return code Description
S_OK The method succeeded.
E_POINTER CurrentRequest is not valid, or TuneRequest is NULL.

Remarks

This method might be used by a custom Guide Store Loader to enumerate the available services on a transport stream.

See Also