MUTANT_BASIC_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

typedef struct _MUTANT_BASIC_INFORMATION
{
    LONG CurrentCount;
    BOOLEAN OwnedByCaller;
    BOOLEAN AbandonedState;
} MUTANT_BASIC_INFORMATION, *PMUTANT_BASIC_INFORMATION;

#endif
#endif

View code on GitHub

Use MUTANT_BASIC_INFORMATION as a buffer in NtQueryMutant call.

CurrentCount

If CurrentCount is less than zero, mutant is signaled.

OwnedByCaller

It's TRUE if mutant is signaled by caller's thread.

AbandonedState

Is set when thread terminates without call NtReleaseMutant.

Documented by

See also