Waits to be notified by another thread of a change in this object.
void __cdecl monitorWait(UINT_PTR, int64_t millis);
object | The synchronization object. |
millis | The maximum time to wait, in milliseconds. |
You can use the ObjectMonitorWait macro to automatically cast the synchronization object to an integer and call this method. This method is the native equivalent of the Java.lang.Object.wait method.