SEMAPHORE_BASIC_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

typedef struct _SEMAPHORE_BASIC_INFORMATION
{
    LONG CurrentCount;
    LONG MaximumCount;
} SEMAPHORE_BASIC_INFORMATION, *PSEMAPHORE_BASIC_INFORMATION;

#endif
#endif

View code on GitHub

Structure SEMAPHORE_BASIC_INFORMATION is retrieved as a result of call NtQuerySemaphore with SemaphoreBasicInformation information class.

CurrentCount

Current state of semaphore's counter.

MaximumCount

Maximum counter position, defined with call to NtCreateSemaphore.

Documented by

See also