Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetPreviousProgram method creates a new tune request with channel or program locator information for the previous service.
Syntax
HRESULT GetPreviousProgram(
  [in]   ITuneRequest *pCurrentRequest,
  [out]  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 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