共用方式為


ITuningSpaces::get_Item

 
Microsoft DirectShow 9.0

ITuningSpaces::get_Item

The get_Item method returns the specified item in the collection.

Syntax

  HRESULT get_Item(
    VARIANT varIndex,
    ITuningSpace** ppTuningSpace
    );

Parameters

varIndex

[in]  VARIANT type that specifies the ID of the tuning space. The ID uniquely identifies the tuning space within the SystemTuningSpaces object.

ppTuningSpace

[out]  Address of a variable that receives a pointer to the tuning space's ITuningSpace interface. The caller must release the interface.

Return Values

Returns S_OK if successful.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also