A pointer to the ULONG
which contains the number of semaphore record entries.
Input
A pointer to the maximum number of semaphore
record entries that can be contained in the list pointed to by pSemRec.
Output
A pointer to the
number of semaphore record entries returned in the list pointed to by pSemRec.
If the list pointed to by pSemRec is not large enough to hold all
of the semaphore records in the specified muxwait semaphore, the system
sets the value pointed to by pSemRec to the number of semaphore records
in the specified muxwait semaphore, and sets the return code to ERROR_PARAM_TOO_SMALL.