CComSafeDeleteCriticalSection::Lock

 

Calls the base class implementation of Lock.

Syntax

HRESULT Lock();

Return Value

Returns the result of CComCriticalSection::Lock.

Remarks

This method assumes the m_bInitialized data member is set to true upon entry. An assertion is generated in Debug builds if this condidtion is not met.

For more information on the behavior of the function, refer to CComCriticalSection::Lock.

Requirements

Header: atlcore.h

See Also

CComSafeDeleteCriticalSection Class