Share via


IMSVidVideoRendererDevices::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 a video renderer to the collection.

Syntax

HRESULT Add(
  [in] IMSVidVideoRenderer *pDB
);

Parameters

[in] pDB

Specifies a pointer to the video renderer's IMSVidVideoRenderer 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

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

See also

IMSVidVideoRendererDevices Interface