[PATCH 7/7] kernel32: Write the wait handle before executing the callback.