Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 2.55 KB

nf-objidlbase-isynchronize-reset.md

File metadata and controls

71 lines (57 loc) · 2.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:objidlbase.ISynchronize.Reset
ISynchronize::Reset (objidlbase.h)
The ISynchronize::Reset (objidlbase.h) method sets the synchronization object to the nonsignaled state.
ISynchronize interface [COM]
Reset method
ISynchronize.Reset
ISynchronize::Reset
Reset
Reset method [COM]
Reset method [COM]
ISynchronize interface
_com_isynchronize_reset
com.isynchronize_reset
objidlbase/ISynchronize::Reset
com\isynchronize_reset.htm
com
33c56a33-9954-4612-ba0f-396ccdc48bf3
08/15/2022
ISynchronize interface [COM],Reset method, ISynchronize.Reset, ISynchronize::Reset, Reset, Reset method [COM], Reset method [COM],ISynchronize interface, _com_isynchronize_reset, com.isynchronize_reset, objidlbase/ISynchronize::Reset
objidlbase.h
ObjIdl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
ObjIdl.idl
Windows
19H1
ISynchronize::Reset
objidlbase/ISynchronize::Reset
c++
APIRef
kbSyntax
COM
objidlbase.h
ISynchronize.Reset

ISynchronize::Reset

-description

Sets the synchronization object to the nonsignaled state.

-returns

This method returns S_OK to indicate that the method completed successfully.

-remarks

The ISynchronize::Wait method implemented on a standard event object (CLSID_StdEvent) automatically calls Reset when the synchronization object has been signaled.

The implementation of ISynchronize::Wait on the manual reset event object (CLSID_ManualResetEvent) does not automatically call Reset. A server object usually calls Reset from a method that clients call after they detect that the synchronization object was signaled.

In general, it is the server's responsibility to call Reset. If, however, the client needs to begin with the synchronization object in an unsignaled state, the client should call Reset.

-see-also

ISynchronize