ITuningSpaceContainer::FindID

 
Microsoft DirectShow 9.0

ITuningSpaceContainer::FindID

The FindID method retrieves the ID of a specified tuning space within the collection.

Syntax

  HRESULT FindID(
    ITuningSpace* pTuningSpace,
    long* pID
);

Parameters

pTuningSpace

[in]  Pointer to the ITuningSpace interface of the tuning space.

pID

[out]  Pointer to a variable that receives the ID of the tuning space. The returned value is specific to this collection object (which represents the local system).

Return Values

Returns an HRESULT. Possible values include those in the following table.

Return code Description
E_INVALIDARG The specified tuning space is not a member of this collection.
E_POINTER NULL pointer argument.
S_OK Success.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also