COutputQueue::ReceiveMultiple (Windows CE 5.0)

Send Feedback

Passes a set of samples to send to the input pin.

HRESULTReceiveMultiple(IMediaSample** ppSamples,longnSamples,long* nSamplesProcessed);

Parameters

  • ppSamples
    Pointer to the set of samples to be passed to the connected input pin.
  • nSamples
    Number of samples pointed to by ppSamples.
  • nSamplesProcessed
    Updated to be the number of samples processed.

Return Values

Returns an HRESULT value, which can include the following values, or others.

Value Description
Other An error occurred before or while processing sample; any further samples will be discarded and this value returned.
S_FALSE End of stream detected before or while processing sample; any further samples will be discarded and this value returned.
S_OK Queued successfully or passed to the connected input pin if there is no queue.

Remarks

If the sticky return code is not S_OK, the sample is not sent and the sticky return code is returned. (A sticky return code is one that persists even after operations that would normally change its value.)

The samples are all released (by means of Release) after processing, regardless of whether the processing was successful.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.