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