Share via


ITuneRequestInfo::GetNextProgram Method

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

Syntax

HRESULT GetNextProgram(
  [in]   ITuneRequest *pCurrentRequest,
  [out]  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 Value

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.

Requirements

Header Declared in Bdatif.h.

See Also

Error and Success Codes
ITuneRequestInfo Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008