Share via


IComponents::Remove

 
Microsoft DirectShow 9.0

IComponents::Remove

The Remove method removes a Component object from the collection.

Syntax

  HRESULT Remove(
  VARIANT  Index
);

Parameters

Index

[in] Variable of type VARIANT that specifies the index number of the Component object to be removed.

Return Values

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

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also