ReactOS 0.4.16-dev-297-gc569aee
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
BOOLEAN NTAPI | ExpInitializeSemaphoreImplementation (VOID) |
NTSTATUS NTAPI | NtCreateSemaphore (OUT PHANDLE SemaphoreHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN LONG InitialCount, IN LONG MaximumCount) |
NTSTATUS NTAPI | NtOpenSemaphore (OUT PHANDLE SemaphoreHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes) |
NTSTATUS NTAPI | NtQuerySemaphore (IN HANDLE SemaphoreHandle, IN SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass, OUT PVOID SemaphoreInformation, IN ULONG SemaphoreInformationLength, OUT PULONG ReturnLength OPTIONAL) |
NTSTATUS NTAPI | NtReleaseSemaphore (IN HANDLE SemaphoreHandle, IN LONG ReleaseCount, OUT PLONG PreviousCount OPTIONAL) |
Variables | |
POBJECT_TYPE | ExSemaphoreObjectType |
GENERIC_MAPPING | ExSemaphoreMapping |
static const INFORMATION_CLASS_INFO | ExSemaphoreInfoClass [] |
Definition at line 43 of file sem.c.
Referenced by ExpInitSystemPhase1().
NTSTATUS NTAPI NtCreateSemaphore | ( | OUT PHANDLE | SemaphoreHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN LONG | InitialCount, | ||
IN LONG | MaximumCount | ||
) |
Definition at line 69 of file sem.c.
Referenced by RtlInitializeResource().
NTSTATUS NTAPI NtOpenSemaphore | ( | OUT PHANDLE | SemaphoreHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES | ObjectAttributes | ||
) |
Definition at line 161 of file sem.c.
Referenced by NtOpenObject().
NTSTATUS NTAPI NtQuerySemaphore | ( | IN HANDLE | SemaphoreHandle, |
IN SEMAPHORE_INFORMATION_CLASS | SemaphoreInformationClass, | ||
OUT PVOID | SemaphoreInformation, | ||
IN ULONG | SemaphoreInformationLength, | ||
OUT PULONG ReturnLength | OPTIONAL | ||
) |
Definition at line 222 of file sem.c.
Referenced by START_TEST().
NTSTATUS NTAPI NtReleaseSemaphore | ( | IN HANDLE | SemaphoreHandle, |
IN LONG | ReleaseCount, | ||
OUT PLONG PreviousCount | OPTIONAL | ||
) |
Definition at line 295 of file sem.c.
Referenced by ReleaseSemaphore(), RtlConvertExclusiveToShared(), and RtlReleaseResource().
|
static |
GENERIC_MAPPING ExSemaphoreMapping |
Definition at line 24 of file sem.c.
Referenced by ExpInitializeSemaphoreImplementation().
POBJECT_TYPE ExSemaphoreObjectType |
Definition at line 22 of file sem.c.
Referenced by ExpInitializeSemaphoreImplementation(), KspEnableEvent(), NtCreateSemaphore(), NtOpenSemaphore(), NtQuerySemaphore(), NtReleaseSemaphore(), NtSignalAndWaitForSingleObject(), and TestObjectTypes().