Rémi Bernon (@rbernon) commented about dlls/windows.media.playback.backgroundmediaplayer/main.c:
TRACE( "class %s, factory %p.\n", debugstr_hstring( classid ), factory );
EnterCriticalSection( &media_player_cs );
*factory = NULL;
if (!wcscmp( buffer, RuntimeClass_Windows_Media_Playback_BackgroundMediaPlayer )) IActivationFactory_QueryInterface( background_media_player_factory, &IID_IActivationFactory, (void **)factory );
LeaveCriticalSection( &media_player_cs );
And remove these.
```suggestion:-7+0 *factory = NULL;
if (!wcscmp( buffer, RuntimeClass_Windows_Media_Playback_BackgroundMediaPlayer )) IActivationFactory_QueryInterface( background_media_player_factory, &IID_IActivationFactory, (void **)factory ); ```