IMSVidInputDevices::Add

 
Microsoft DirectShow 9.0

IMSVidInputDevices::Add

This topic applies to Windows XP or later.

The Add method adds an input device to the collection.

Syntax

  HRESULT Add(
  
  IMSVidInputDevice*
  
  pDB
  
  );

Parameters

  pDB

[in]  Pointer to the device's IMSVidInputDevice interface.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_ACCESSDENIED This collection is read-only; cannot add any items.
E_OUTOFMEMORY Insufficient memory.
E_POINTER NULL pointer argument.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also