IMSVidOutputDevices::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 output device to the collection.

Syntax

HRESULT Add(
  [in] IMSVidOutputDevice *pDB
);

Parameters

[in] pDB

Specifies a pointer to the device's IMSVidOutputDevice 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

IMSVidOutputDevices Interface

IMSVidOutputDevices::Remove