DeleteCriticalSection
DeleteCriticalSection releases all resources used by an unowned critical-section object.
Syntax
VOID DeleteCriticalSection(
LPCRITICAL_SECTION lpCriticalSection
);
Parameter
lpCriticalSection
A pointer to the critical-section object.
Return Value
This function does not return a value.
Remarks
Deleting a critical-section object releases all system resources used by the object. Once deleted, the critical-section object cannot be specified in the EnterCriticalSection or LeaveCriticalSection function.
Requirements
Minimum Supported Version | RTX64 2013 |
Header | windows.h |
Library | Rtx_Rtss.lib |
See Also: