Undocumented functions of NTDLL

2OOO, 24 November


NtQueryMutant
NtQueryMutant

NTSYSAPI 
NTSTATUS
NTAPI

NtQueryMutant(
IN HANDLE MutantHandle, IN MUTANT_INFORMATION_CLASS MutantInformationClass, OUT PVOID MutantInformation, IN ULONG MutantInformationLength, OUT PULONG ResultLength OPTIONAL );


MutantHandle
Handle to Mutant object.

MutantInformationClass
Is defined as enum:
        
        typedef enum _MUTANT_INFORMATION_CLASS
        {
                MutantBasicInformation

        } MUTANT_INFORMATION_CLASS, *PMUTANT_INFORMATION_CLASS;

MutantInformation
Buffer for result. As long as only one information type is defined, set MutantInformation as a pointer to MUTANT_BASIC_INFORMATION structure.

MutantInformationLength
Size of buffer.

ResultLength
Number of bytes written to buffer.




Documented by:
Tomasz Nowak
Sven B. Schreiber



Requirements:
Library: ntdll.lib


See also:
MUTANT_BASIC_INFORMATION
NtCreateMutant
NtOpenMutant