Commit 30bbed5d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

scrobj: Add partial DllInstall implementation.

parent de6554a3
...@@ -444,6 +444,25 @@ HRESULT WINAPI DllUnregisterServer(void) ...@@ -444,6 +444,25 @@ HRESULT WINAPI DllUnregisterServer(void)
return __wine_unregister_resources(scrobj_instance); return __wine_unregister_resources(scrobj_instance);
} }
/***********************************************************************
* DllInstall (scrobj.@)
*/
HRESULT WINAPI DllInstall(BOOL install, const WCHAR *arg)
{
HRESULT hres;
if (install)
{
hres = DllRegisterServer();
if (!arg || FAILED(hres)) return hres;
}
else if (!arg)
return DllUnregisterServer();
FIXME("argument %s not supported\n", debugstr_w(arg));
return E_NOTIMPL;
}
static HRESULT WINAPI scriptlet_typelib_CreateInstance(IClassFactory *factory, IUnknown *outer, REFIID riid, void **obj) static HRESULT WINAPI scriptlet_typelib_CreateInstance(IClassFactory *factory, IUnknown *outer, REFIID riid, void **obj)
{ {
struct scriptlet_typelib *This; struct scriptlet_typelib *This;
......
@ stdcall -private DllCanUnloadNow() @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllInstall(long wstr)
@ stdcall -private DllRegisterServer() @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() @ stdcall -private DllUnregisterServer()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment