IMSVidOutputDevices::Add

 
Microsoft DirectShow 9.0

IMSVidOutputDevices::Add

This topic applies to Windows XP or later.

The Add method adds an output device to the collection.

Syntax

  HRESULT Add(
  
  IMSVidOutputDevice*
  
  pDB
  
  );

Parameters

  pDB

[in]  Specifies a pointer to the device's IMSVidOutputDevice interface.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_ACCESSDENIED The 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