다음을 통해 공유


CBaseInputPin::ReceiveMultiple (Windows CE 5.0)

Send Feedback

Retrieves the next block of data from the stream.

This method behaves much like the IMemInputPin::Receive method, but it works with multiple samples.

Override this function if you can usefully process samples in batches.

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

Parameters

  • pSamples
    Pointer to an array of samples.
  • nSamples
    Number of samples to process.
  • nSamplesProcessed
    Number of samples processed.

Return Values

Returns an HRESULT value.

Remarks

This member function implements the IMemInputPin::ReceiveMultiple method. It is implemented to call the CBaseInputPin::Receive member function in a loop for nSamples number of iterations.

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.