Share via


CritCheckOut

 
Microsoft DirectShow 9.0

CritCheckOut

Returns FALSE if the current thread is the owner of the specified critical section.

Syntax

  BOOL WINAPI CritCheckOut(
    CCritSec *pcCrit
);

Parameters

pcCrit

Pointer to a CCritSec critical section.

Return Value

In debug builds, returns FALSE if the current thread is the owner of this critical section, or TRUE otherwise. In retail builds, always returns TRUE.

Remarks

This function is the inverse of the CritCheckIn function. If CritCheckIn returns TRUE, CritCheckOut returns FALSE, and vice versa.

Requirements

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

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

See Also