Applies to: desktop apps only
The WaitForChanges method registers to wait for an event indicating that the contents of the object have changed.
HRESULT WaitForChanges( [in] HANDLE_PTR hEvent );
- hEvent [in]
An event that is signaled whenever the contents of the object change.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
This method can only be used in C and C++ programming languages. It cannot be used with DCOM.
After notification of the event, call the Refresh method to see the changes.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010