Commit 74e37bc3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msscript.ocx: Added stub DLL.

parent b80bbd59
...@@ -1152,6 +1152,7 @@ enable_msls31 ...@@ -1152,6 +1152,7 @@ enable_msls31
enable_msnet32 enable_msnet32
enable_mspatcha enable_mspatcha
enable_msrle32 enable_msrle32
enable_msscript_ocx
enable_mssign32 enable_mssign32
enable_mssip32 enable_mssip32
enable_mstask enable_mstask
...@@ -17426,6 +17427,7 @@ wine_fn_config_dll msnet32 enable_msnet32 ...@@ -17426,6 +17427,7 @@ wine_fn_config_dll msnet32 enable_msnet32
wine_fn_config_dll mspatcha enable_mspatcha implib wine_fn_config_dll mspatcha enable_mspatcha implib
wine_fn_config_dll msrle32 enable_msrle32 po wine_fn_config_dll msrle32 enable_msrle32 po
wine_fn_config_test dlls/msrle32/tests msrle32_test wine_fn_config_test dlls/msrle32/tests msrle32_test
wine_fn_config_dll msscript.ocx enable_msscript_ocx
wine_fn_config_dll mssign32 enable_mssign32 wine_fn_config_dll mssign32 enable_mssign32
wine_fn_config_dll mssip32 enable_mssip32 wine_fn_config_dll mssip32 enable_mssip32
wine_fn_config_dll mstask enable_mstask clean wine_fn_config_dll mstask enable_mstask clean
......
...@@ -3101,6 +3101,7 @@ WINE_CONFIG_DLL(msnet32) ...@@ -3101,6 +3101,7 @@ WINE_CONFIG_DLL(msnet32)
WINE_CONFIG_DLL(mspatcha,,[implib]) WINE_CONFIG_DLL(mspatcha,,[implib])
WINE_CONFIG_DLL(msrle32,,[po]) WINE_CONFIG_DLL(msrle32,,[po])
WINE_CONFIG_TEST(dlls/msrle32/tests) WINE_CONFIG_TEST(dlls/msrle32/tests)
WINE_CONFIG_DLL(msscript.ocx)
WINE_CONFIG_DLL(mssign32) WINE_CONFIG_DLL(mssign32)
WINE_CONFIG_DLL(mssip32) WINE_CONFIG_DLL(mssip32)
WINE_CONFIG_DLL(mstask,,[clean]) WINE_CONFIG_DLL(mstask,,[clean])
......
MODULE = msscript.ocx
C_SRCS = \
msscript.c
/*
* Copyright 2015 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windows.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msscript);
/******************************************************************
* DllMain (msscript.ocx.@)
*/
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID lpv)
{
TRACE("(%p %d %p)\n", instance, reason, lpv);
switch(reason) {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}
/***********************************************************************
* DllGetClassObject (msscript.ocx.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DllCanUnloadNow (msscript.ocx.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
{
TRACE("\n");
return S_FALSE;
}
/***********************************************************************
* DllRegisterServer (msscript.ocx.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
FIXME("()\n");
return E_NOTIMPL;
}
/***********************************************************************
* DllUnregisterServer (msscript.ocx.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
TRACE("()\n");
return E_NOTIMPL;
}
@ stub DLLGetDocumentation
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ 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