2OOO, 24 November
NTSYSAPI NTSTATUS NTAPINtQueryMutant(
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.