Rémi Bernon (@rbernon) commented about dlls/windows.media/captions.c:
+ str = WindowsGetStringRawBuffer( hstr, &len ); + return wine_dbgstr_wn( str, len ); +} + +struct captions_statics +{ + IActivationFactory IActivationFactory_iface; + LONG ref; +}; + +static inline struct captions_statics *impl_from_IActivationFactory( IActivationFactory *iface ) +{ + return CONTAINING_RECORD( iface, struct captions_statics, IActivationFactory_iface ); +} + +static HRESULT WINAPI windows_media_QueryInterface( IActivationFactory *iface, REFIID iid, void **out ) As I believe we're trying to keep one file per class in WinRT, I suggest to prefix these with `factory_` rather than `windows_media_`. Or `captions_factory_` if there's going to be more than the caption class.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1343#note_16357