다음을 통해 공유


ITuneRequestInfo::GetPreviousProgram method (bdatif.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

HRESULT GetPreviousProgram(
  [in]  ITuneRequest *CurrentRequest,
  [out] ITuneRequest **TuneRequest
);

Parameters

[in] CurrentRequest

Specifies the current request.

[out] TuneRequest

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

Requirement Value
Target Platform Windows
Header bdatif.h

See also

Error and Success Codes

ITuneRequestInfo Interface