Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
Increments the m_lWaitingdata member to indicate that a thread is waiting for a sample.
Syntax
void SetWaiting( ); |
Parameters
None.
Return Value
None.
Remarks
This member function is called from CBaseAllocator::GetBufferif no samples are available on the free list.
After calling this, CBaseAllocator::GetBuffercalls the Win32 WaitForSingleObjectfunction to wait for the list to signal that a sample is available.
The list signals by calling CBaseAllocator::ReleaseBuffer, which in turn calls CBaseAllocator::NotifySample, which sets m_lWaitingto zero and calls the Win32 ReleaseSemaphorefunction.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have
different include file and Library requirements
For more information, see Setting Up the Build Environment,Version 2.12 requires DXPAK 1.0 or later |