VOID InitializeCriticalSection(lpCriticalSection) | |||
LPCRITICAL_SECTION lpCriticalSection; |
A critical section object is initialized using InitializeCriticalSection.
lpCriticalSection
Supplies the address of a critical section object to be initialized. It is the callers responsibility to allocate the storage used by a critical section object.
This function does not return a value.
Once a critical section object has been initialized threads within a single process may enter and exit critical sections using the critical section object. A critical section object may not be moved or copied. The application must also not modify the insides of the object, but must treat it as logically opaque.
DeleteCriticalSection, EnterCriticalSection, LeaveCriticalSection