Bernhard Kölbl (@besentv) commented about dlls/windows.media.speech/tests/speech.c:
hr = IInspectable_QueryInterface(inspectable, &IID_ISpeechSynthesizer, (void **)&synthesizer); ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
- hr = ISpeechSynthesizer_get_Voice(synthesizer, &voice);
- todo_wine ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
- if (default_voice_id)
- {
WindowsDeleteString is null safe iirc, so you can squash these ifs.