Undocumented functions of NTDLL

2OO1, 1O February


NtCreateSemaphore
NtCreateSemaphore

NTSYSAPI 
NTSTATUS
NTAPI

NtCreateSemaphore(
OUT PHANDLE SemaphoreHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN ULONG InitialCount, IN ULONG MaximumCount );



Function NtCreateSemaphore creates Semaphore Object with or without name in Object Namespace, and sets initial and maximum releases number.



Requirements:
Library: ntdll.lib


See also:
NtOpenSemaphore
NtQuerySemaphore