共用方式為


Critical Section Debugging Functions

 
Microsoft DirectShow 9.0

Critical Section Debugging Functions

These functions help to debug critical sections in your code, which can make it easier to find the cause of a deadlock. These functions use the CCritSec helper class.

Requirements

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

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

Function Description
CritCheckIn Returns TRUE if the current thread owns the specified critical section.
CritCheckOut Returns FALSE if the current thread owns the specified critical section.
DbgLockTrace Enables or disables debug logging for a given critical section.