Compartilhar via


COutputQueue::ThreadProc (Windows CE 5.0)

Send Feedback

Implements the thread that sends samples downstream.

DWORD ThreadProc( );

Parameters

None.

Return Values

Returns zero when DirectShow terminates the thread.

Remarks

This is the main thread procedure for the class, which is called from COutputQueue::InitialThreadProc.

It sends a sample or a batch of samples to the connected input pin (depending on the m_bBatchExact, m_nBatched, and m_lBatchSize data members) when conditions are met.

Otherwise, it increments the m_lWaiting data member, while holding the critical section and waits for m_hSem to be set (not holding the critical section) to continue.

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.