#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;
View code on GitHub
Use MUTANT_BASIC_INFORMATION
as a buffer in NtQueryMutant
call.
If CurrentCount
is less than zero, mutant is signaled.
It's TRUE if mutant is signaled by caller's thread.
Is set when thread terminates without call NtReleaseMutant
.