Share via


IMSVidAudioRendererDevices::Add method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The Add method adds an audio renderer to the collection.

Syntax

HRESULT Add(
  [in] IMSVidAudioRenderer *pDB
);

Parameters

[in] pDB

Pointer to the audio renderer's IMSVidAudioRenderer interface.

Return value

Returns an HRESULT value. Possible values include the following.

Return code 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

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidAudioRendererDevices Interface