18 Nov
2022
18 Nov
'22
12:53 p.m.
Rémi Bernon (@rbernon) commented about dlls/windows.media/main.c:
HRESULT WINAPI DllGetActivationFactory(HSTRING classid, IActivationFactory **factory) { - FIXME( "(class %s, factory %p.) - stub.\n", debugstr_hstring(classid), factory ); + const WCHAR *buffer = WindowsGetStringRawBuffer( classid, NULL ); + + TRACE( "(class %s, factory %p.)\n", debugstr_hstring(classid), factory ); + *factory = NULL; + + if (!wcscmp( buffer, RuntimeClass_Windows_Media_ClosedCaptioning_ClosedCaptionProperties ))
Like Bernhard said, this should probably be in the first patch. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1343#note_16358