Controls entries to or exits from a critical section in MTDLL servers.
SYS(2336 [, nAction])
Specifies the action performed by the SYS(2336) function according to the following table.
Returns the current reference count. (Default)
Calls LeaveCriticalSection as many times as necessary to reduce the reference count to 0, thereby freeing the critical section.
Character. SYS(2336) returns the reference count for all values of nAction.
SYS(2336) accesses EnterCriticalSection and LeaveCriticalSection Windows API calls. You can find details of these functions in the MSDN Library Platform SDK reference at .