dllhost: Add stub implementation.
[wine.git] / programs / dllhost / dllhost.c
blob39d2194db4b2d1c72edc14b288bbe1941a8e69d0
1 /*
2 * Copyright 2022 Dmitry Timoshkov
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <stdarg.h>
21 #include <windef.h>
22 #include <winbase.h>
23 #include <objbase.h>
25 #include "wine/debug.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(dllhost);
29 int WINAPI wWinMain(HINSTANCE hinst, HINSTANCE previnst, LPWSTR cmdline, int showcmd)
31 HRESULT hr;
32 CLSID clsid;
34 if (wcsnicmp(cmdline, L"/PROCESSID:", 11))
35 return 0;
37 cmdline += 11;
39 CoInitializeEx(NULL, COINIT_MULTITHREADED);
41 hr = CLSIDFromString(cmdline, &clsid);
42 if (hr == S_OK)
44 FIXME("hosting object %s is not implemented\n", wine_dbgstr_guid(&clsid));
47 CoUninitialize();
49 return 0;