Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 | 
COutputQueue::Receive
The Receive method delivers a media sample to the input pin.
Syntax
  HRESULT Receive(
    IMediaSample *pSample
);
Parameters
pSample
Pointer to the sample's IMediaSample interface.
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
| Value | Description | 
| S_FALSE | End-of-stream notification received before processing this sample. | 
| S_OK | Success. | 
Remarks
This method calls the COutputQueue::ReceiveMultiple method.
Requirements
** Header:** Declared in Outputq.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also