Rémi Bernon (@rbernon) commented about dlls/windows.ui/inputpane.c:
+ factory_GetRuntimeClassName, + factory_GetTrustLevel, + /* IActivationFactory methods */ + factory_ActivateInstance, +}; + +DEFINE_IINSPECTABLE( inputpane_interop, IInputPaneInterop, struct inputpane_statics, IActivationFactory_iface ); + +static HRESULT WINAPI inputpane_interop_GetForWindow(IInputPaneInterop *iface, HWND window, REFIID riid, void **inputpane) +{ + struct inputpane_statics *impl = impl_from_IInputPaneInterop(iface); + + TRACE("(window %p, riid %s, inputpane %p)\n", window, debugstr_guid( riid ), inputpane); + + factory_ActivateInstance(&impl->IActivationFactory_iface, (IInspectable**)inputpane); + return S_OK;
static HRESULT WINAPI inputpane_interop_GetForWindow( IInputPaneInterop *iface, HWND window, REFIID riid, void **inputpane )
{
struct inputpane_statics *impl = impl_from_IInputPaneInterop( iface );
TRACE( "window %p, riid %s, inputpane %p\n", window, debugstr_guid( riid ), inputpane );
factory_ActivateInstance( &impl->IActivationFactory_iface, (IInspectable **)inputpane );
return S_OK;
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4251#note_58324