COutputQueue::IsSpecialSample

 
Microsoft DirectShow 9.0

COutputQueue::IsSpecialSample

The IsSpecialSample method determines whether queued data is a control message.

Syntax

  BOOL IsSpecialSample(
    IMediaSample *pSample
);

Parameters

pSample

Pointer to an item in the queue.

Return Value

Returns TRUE if pSample is a control message, or FALSE otherwise.

Remarks

The COutputQueue::QueueSample method can receive control messages in addition to media samples. A control message is a defined constant (cast to a LONG_PTR type) that instructs the thread to perform an action. Control messages do not contain media data. For more information, see COutputQueue::QueueSample.

Requirements

**  Header:** Declared in Outputq.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also