/* WinRT Windows.Management.Deployment Implementation1*2* Copyright (C) 2023 Mohamad Al-Jaf3*4* This library is free software; you can redistribute it and/or5* modify it under the terms of the GNU Lesser General Public6* License as published by the Free Software Foundation; either7* version 2.1 of the License, or (at your option) any later version.8*9* This library is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12* Lesser General Public License for more details.13*14* You should have received a copy of the GNU Lesser General Public15* License along with this library; if not, write to the Free Software16* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA17*/1819#include "initguid.h"20#include "private.h"2122#include "wine/debug.h"2324WINE_DEFAULT_DEBUG_CHANNEL(appx);2526HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID riid, void **out )27{28FIXME( "clsid %s, riid %s, out %p stub!\n", debugstr_guid(clsid), debugstr_guid(riid), out );29return CLASS_E_CLASSNOTAVAILABLE;30}3132HRESULT WINAPI DllGetActivationFactory( HSTRING classid, IActivationFactory **factory )33{34const WCHAR *buffer = WindowsGetStringRawBuffer( classid, NULL );3536TRACE( "class %s, factory %p.\n", debugstr_hstring(classid), factory );3738*factory = NULL;3940if (!wcscmp( buffer, RuntimeClass_Windows_Management_Deployment_PackageManager ))41IActivationFactory_QueryInterface( package_manager_factory, &IID_IActivationFactory, (void **)factory );4243if (*factory) return S_OK;44return CLASS_E_CLASSNOTAVAILABLE;45}464748