Microsoft DirectX 8.1 (C++)

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 Value

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