Share via


IRegisterTuner::Register 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.]

This feature is expected to be available on a future version of the Windows operating system.

The Register method registers an apartment-threaded tuner with the tuner marshaller and registers the tuner marshaller with the graph service provider.

Syntax

HRESULT Register(
  [in] ITuner        *pTuner,
  [in] IGraphBuilder *pGraph
);

Parameters

[in] pTuner

Pointer to a variable that specifies the tuner.

[in] pGraph

Pointer to a variable that specifies the graph filter provider.

Return value

When the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Requirements

   
Target Platform Windows
Header tuner.h

See also

IRegisterTuner Interface