Microsoft DirectX 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.

See Also