Microsoft DirectX 9.0

IAMMediaStream::JoinAMMultiMediaStream

The IAMMultiMediaStream::AddMediaStream method calls this method, which adds the specified media stream to the current multimedia stream.

Syntax

HRESULT JoinAMMultiMediaStream(
  IAMMultiMediaStream *pAMMultiMediaStream
);

Parameters

pAMMultiMediaStream

[in] Pointer to the IAMMultiMediaStream object to add the current media stream to.

Return Values

Returns S_OK if successful or MS_E_SAMPLEALLOC if the media stream already has allocated stream samples.

Remarks

Don't increment the reference count of the supplied multimedia stream because it is already accounted for when created.

Applications should not call this method.

See Also