共用方式為


IMSVidAudioRendererDevices::Add

 
Microsoft DirectShow 9.0

IMSVidAudioRendererDevices::Add

This topic applies to Windows XP or later.

The Add method adds an audio renderer to the collection.

Syntax

  HRESULT Add(
  
  IMSVidAudioRenderer* 
  pDB
  
  );

Parameters

  pDB

[in]  Pointer to the audio renderer's IMSVidAudioRenderer 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