VOID DeleteCriticalSection(lpcs) | |||||
LPCRITICAL_SECTION lpcs; | /* critical section to delete | */ |
The DeleteCriticalSection function releases all resources used by an unowned critical section object.
lpcs
Points to the critical section object to delete.
Deleting a critical section releases all system resources used by the critical section. Once deleted, the critical section may not be used by the EnterCriticalSection or LeaveCriticalSection functions.
EnterCriticalSection, InitializeCriticalSection, LeaveCriticalSection