Condividi tramite


IMSVidInputDevices::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 input device to the collection.

Syntax

HRESULT Add(
  [in] IMSVidInputDevice *pDB
);

Parameters

[in] pDB

Pointer to the device's IMSVidInputDevice interface.

Return value

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.
E_ACCESSDENIED
This 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

IMSVidInputDevices Interface

IMSVidInputDevices::Remove