Undocumented functions of NTDLL

2OOO, 24 November


MUTANT_BASIC_INFORMATION
MUTANT_BASIC_INFORMATION

typedef struct _MUTANT_BASIC_INFORMATION {

LONG CurrentCount; BOOLEAN OwnedByCaller; BOOLEAN AbandonedState; } MUTANT_BASIC_INFORMATION, *PMUTANT_BASIC_INFORMATION;


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:
Sven B. Schreiber
Tomasz Nowak



Requirements:
Library: ntdll.lib


See also:
NtCreateMutant
NtOpenMutant
NtQueryMutant
NtReleaseMutant