Share via


ITuningSpaceContainer::FindID Method

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

Syntax

HRESULT FindID(
  [in]   ITuningSpace *pTuningSpace,
  [out]  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 Value

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 Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

ITuningSpaceContainer Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008