Undocumented functions of NTDLL

2OO1, 1O February


NtQuerySemaphore
NtQuerySemaphore

NTSYSAPI 
NTSTATUS
NTAPI

NtQuerySemaphore(
IN HANDLE SemaphoreHandle, IN SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass, OUT PVOID SemaphoreInformation, IN ULONG SemaphoreInformationLength, OUT PULONG ReturnLength OPTIONAL );



Function NtQuerySemaphore retrieve semaphore's parameters (see SEMAPHORE_BASIC_INFORMATION).



Requirements:
Library: ntdll.lib


See also:
NtCreateSemaphore
NtOpenSemaphore
SEMAPHORE_BASIC_INFORMATION
SEMAPHORE_INFORMATION_CLASS