HRESULT FreezeEvents( BOOL bFreeze );
See IOleControl::FreezeEvents in the Win32 SDK.
Remarks
In ATL's implementation, FreezeEvents increments the control class's m_nFreezeEvents data member if bFreeze is TRUE, and decrements m_nFreezeEvents if bFreeze is FALSE. FreezeEvents then returns S_OK.
IOleControlImpl Overview | Class Members
See Also CComControl::m_nFreezeEvents