Microsoft DirectX 9.0

IMSVidInputDevices::Add

This topic applies to Windows XP only.

The Add method adds an input device to the collection.

Syntax

HRESULT Add(
  IMSVidInputDevice*  pDB
);

Parameters

  pDB

[in]  Pointer to the device's IMSVidInputDevice interface.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_ACCESSDENIED This collection is read-only; cannot add any items.
E_OUTOFMEMORY Insufficient memory.
E_POINTER NULL pointer argument.

See Also