|Microsoft DirectX 9.0|
The ReceiveMultiple method delivers a batch of media samples to the input pin.
HRESULT ReceiveMultiple ( IMediaSample **ppSamples, long nSamples, long *nSamplesProcessed );
Address of a pointer to an array of samples.
Number of samples in the array.
Pointer to a variable that receives the number of samples delivered successfully.
Returns an HRESULT value. Possible values include those shown in the following table.
|S_FALSE||End-of-stream notification received before processing this sample.|
If the object is using a thread, this method queues all of the samples passed in the array. Otherwise, the method calls the IMemInputPin::ReceiveMultiple method on the input pin.