Jinoh Kang (@iamahuman) commented about dlls/windows.media.speech/recognizer.c:
list_init(&session->completed_handlers); list_init(&session->result_handlers);
- if (!(session->worker_control_event = CreateEventW(NULL, FALSE, FALSE, NULL)))
- {
hr = HRESULT_FROM_WIN32(GetLastError());
goto error;
(This is the point where we reach `error` with `session->worker_control_event` set to NULL.)