共用方式為


CEvent::ResetEvent

Sets the state of the event to nonsignaled until explicitly set to signaled by the SetEvent member function.

BOOL ResetEvent( );

Return Value

Nonzero if the function was successful; otherwise 0.

Remarks

This causes all threads wishing to access this event to wait.

This member function is not used by automatic events.

Requirements

Header: afxmt.h

See Also

Reference

CEvent Class

Hierarchy Chart

Other Resources

CEvent Members