Microsoft DirectX 8.1 (C++)

ITuneRequestInfo::GetNextProgram

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

Syntax

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

Parameters

pCurrentRequest

[in]  Specifies the ITuneRequest interface of the current request.

ppTuneRequest

[out]  Pointer to a variable that will receive a tune request for the next service on the transport stream.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, 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