| Microsoft DirectX 8.1 (C++) | 
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Add method adds a video renderer to the collection.
Syntax
HRESULT Add(
  IMSVidVideoRenderer* pDB
);
Parameters
pDB
[in] Specifies a pointer to the video renderers IMSVidVideoRenderer interface.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description | 
| S_OK | Success. | 
| E_ACCESSDENIED | The collection is read-only; cannot add any items. | 
| E_OUTOFMEMORY | Insufficient memory. | 
| E_POINTER | NULL pointer argument. | 
See Also