DeleteCriticalSection
DeleteCriticalSection releases all resources used by an unowned critical-section object.
Syntax
Copy
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 | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
windows.h | rtkrnl.lib |
See Also: