Rémi Bernon (@rbernon) commented about dlls/windows.media.mediacontrol/tests/mediacontrol.c:
hr = IActivationFactory_QueryInterface( factory, &IID_ISystemMediaTransportControlsInterop, (void **)&media_control_interop_statics ); ok( hr == S_OK, "got hr %#lx.\n", hr );
- hr = ISystemMediaTransportControlsInterop_GetForWindow( media_control_interop_statics, NULL, (REFIID)&IID_ISystemMediaTransportControls, (void **)&media_control_statics );
You don't need the `REFIID` cast, same 2x below. REFIID is already a typedef to `const GUID *`, I'm not sure why we generally keep using it when we otherwise try to get rid of superfluous typedef indirection.