共用方式為


ITuner::Validate

 
Microsoft DirectShow 9.0

ITuner::Validate

The Validate method returns a value indicating that the tune request can be carried out.

Syntax

  HRESULT Validate(
  ITuneRequest* pTuneRequest
);

Parameters

pTuneRequest

[in] Pointer to the tune request object.

Return Values

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

Remarks

Takes an IUnknown* as input. The Network Provider will first query for its preferred tune request interface(s). If any are found, the Network Provider will validate that the tune request could be carried out. If none are available, it will then query for its preferred tuning space interface(s). If any are found, the Network Provider will validate that it could configure itself for the given tuning space.

Requirements

Header: Include bdaiface.h.

See Also