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

DirectShow provides facilities for wait debugging. These facilities build on the Win32 HANDLE-based wait facilities, but you can expand them to debug specific wait conditions.

In the debug build, you can update the global current time-outwith calls to DbgSetWaitTimeout.

Updating the current time-out does not affect debug wait calls that are already waiting.

If this is a debug build and a value named TIMEOUT exists in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\Debug\GLOBALkey, the TIMEOUT value is used as the initial current time-out.

TIMEOUT must be a REG_DWORD value and is measured in milliseconds. If not, the initial time-out defaults to INFINITE.

Call the following functions to perform debuggable waiting.

Programming element Description

DbgSetWaitTimeout

Updates the current time-out value.

DbgWaitForMultipleObjects

Waits for an array of handles to be signaled, or for the current time-out to expire.

DbgWaitForSingleObject

Waits for a handle to be signaled, or for the current time-out to expire.

See Also