https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-signalobjectandwait?redirectedfrom=MSDN
SignalObjectAndWait function (synchapi.h) - Win32 apps | Microsoft Learn
Signals one object and waits on another object as a single operation.
functionhappsmicrosoftlearn