IMPEG2TuneRequestFactory::CreateTuneRequest method (tuner.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 CreateTuneRequest method creates the minimal MPEG-2 tune request for a specified tuning space.

Syntax

HRESULT CreateTuneRequest(
  [in]  ITuningSpace      *TuningSpace,
  [out] IMPEG2TuneRequest **TuneRequest
);

Parameters

[in] TuningSpace

Pointer to the ITuningSpace interface of the tuning space.

[out] TuneRequest

Address of a variable that receives a pointer to the IMPEG2TuneRequest interface.

Return value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

IMPEG2TuneRequestFactory Interface