Commit f93e42e0 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

dsquery: Add stub DLL.

parent bc89730e
...@@ -1182,6 +1182,7 @@ enable_dpvoice ...@@ -1182,6 +1182,7 @@ enable_dpvoice
enable_dpwsockx enable_dpwsockx
enable_drmclien enable_drmclien
enable_dsound enable_dsound
enable_dsquery
enable_dssenh enable_dssenh
enable_dswave enable_dswave
enable_dwmapi enable_dwmapi
...@@ -18310,6 +18311,7 @@ wine_fn_config_dll dpwsockx enable_dpwsockx ...@@ -18310,6 +18311,7 @@ wine_fn_config_dll dpwsockx enable_dpwsockx
wine_fn_config_dll drmclien enable_drmclien wine_fn_config_dll drmclien enable_drmclien
wine_fn_config_dll dsound enable_dsound clean,implib wine_fn_config_dll dsound enable_dsound clean,implib
wine_fn_config_test dlls/dsound/tests dsound_test wine_fn_config_test dlls/dsound/tests dsound_test
wine_fn_config_dll dsquery enable_dsquery
wine_fn_config_dll dssenh enable_dssenh wine_fn_config_dll dssenh enable_dssenh
wine_fn_config_test dlls/dssenh/tests dssenh_test wine_fn_config_test dlls/dssenh/tests dssenh_test
wine_fn_config_dll dswave enable_dswave clean wine_fn_config_dll dswave enable_dswave clean
......
...@@ -3094,6 +3094,7 @@ WINE_CONFIG_DLL(dpwsockx) ...@@ -3094,6 +3094,7 @@ WINE_CONFIG_DLL(dpwsockx)
WINE_CONFIG_DLL(drmclien) WINE_CONFIG_DLL(drmclien)
WINE_CONFIG_DLL(dsound,,[clean,implib]) WINE_CONFIG_DLL(dsound,,[clean,implib])
WINE_CONFIG_TEST(dlls/dsound/tests) WINE_CONFIG_TEST(dlls/dsound/tests)
WINE_CONFIG_DLL(dsquery)
WINE_CONFIG_DLL(dssenh) WINE_CONFIG_DLL(dssenh)
WINE_CONFIG_TEST(dlls/dssenh/tests) WINE_CONFIG_TEST(dlls/dssenh/tests)
WINE_CONFIG_DLL(dswave,,[clean]) WINE_CONFIG_DLL(dswave,,[clean])
......
MODULE = dsquery.dll
C_SRCS = \
main.c
256 stub OpenSavedDsQuery
257 stub OpenSavedDsQueryW
258 stub OpenQueryWindow
512 stub @
513 stub @
514 stub @
515 stub @
516 stub @
517 stub @
518 stub @
519 stub @
520 stub @
521 stub @
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllInstall
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
/*
* Copyright 2017 Zebediah Figura 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 "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dsquery);
static HINSTANCE instance;
/***********************************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
{
TRACE("(%p, %u, %p)\n", inst, reason, reserved);
switch (reason)
{
case DLL_PROCESS_ATTACH:
instance = inst;
DisableThreadLibraryCalls(inst);
break;
}
return TRUE;
}
/***********************************************************************
* DllCanUnloadNow (DSQUERY.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
{
return S_FALSE;
}
/***********************************************************************
* DllGetClassObject (DSQUERY.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **out)
{
TRACE("rclsid %s, riid %s, out %p\n", debugstr_guid(rclsid), debugstr_guid(riid), out);
FIXME("%s: no class found\n", debugstr_guid(rclsid));
*out = NULL;
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DllRegisterServer (DSQUERY.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
return __wine_register_resources( instance );
}
/***********************************************************************
* DllUnregisterServer (DSQUERY.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
return __wine_unregister_resources( instance );
}
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