共用方式為


ITuningSpaceContainer::get_EnumTuningSpaces

 
Microsoft DirectShow 9.0

ITuningSpaceContainer::get_EnumTuningSpaces

The get_EnumTuningSpaces method retrieves a collection of all tuning spaces available on the local system.

Syntax

  HRESULT get_EnumTuningSpaces(
    IEnumTuningSpaces**
   ppEnum

  );

Parameters

ppEnum

[out]  Pointer to a variable that receives an IEnumTuningSpaces interface pointer. Use this interface to enumerate the collection. The caller must release the interface.

Return Values

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

Remarks

C++ applications use this method to get the initial list of tuning spaces defined on the local system.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also