Microsoft DirectX 9.0 |
The AddMediaStream method connects a media stream object to the underlying filter graph.
Syntax
HRESULT AddMediaStream(
IAMMediaStream *pAMMediaStream
);
Parameters
pAMMediaStream
[in] Pointer to the media stream object's IAMMediaStream interface.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
E_OUTOFMEMORY | Insufficient memory |
MS_E_PURPOSEID | Duplicate purpose ID |
S_OK | Success |
See Also