Partager via


DbgWaitForSingleObject

 
Microsoft DirectShow 9.0

DbgWaitForSingleObject

Waits for an object to become signaled.

In a debug build, this function triggers an assert if the time-out interval expires before the object is signaled. To set the time-out interval, call the DbgSetWaitTimeout function.

In a retail build, this function is equivalent to the WaitForSingleObject function with a time-out interval of INFINITE.

Syntax

  DWORD DbgWaitForSingleObject(
    HANDLE h
);

Parameters

h

Handle to the object.

Requirements

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

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

See Also