qwave: Add new stub dll.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46066
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Louis Lenders 2018-10-31 17:04:46 +01:00 committed by Alexandre Julliard
parent 43cdcc0794
commit 73c0ec29eb
5 changed files with 62 additions and 0 deletions

2
configure vendored
View File

@ -1486,6 +1486,7 @@ enable_qmgr
enable_qmgrprxy
enable_quartz
enable_query
enable_qwave
enable_rasapi32
enable_rasdlg
enable_regapi
@ -19758,6 +19759,7 @@ wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
wine_fn_config_makefile dlls/quartz enable_quartz
wine_fn_config_makefile dlls/quartz/tests enable_tests
wine_fn_config_makefile dlls/query enable_query
wine_fn_config_makefile dlls/qwave enable_qwave
wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
wine_fn_config_makefile dlls/rasapi32/tests enable_tests

View File

@ -3611,6 +3611,7 @@ WINE_CONFIG_MAKEFILE(dlls/qmgrprxy)
WINE_CONFIG_MAKEFILE(dlls/quartz)
WINE_CONFIG_MAKEFILE(dlls/quartz/tests)
WINE_CONFIG_MAKEFILE(dlls/query)
WINE_CONFIG_MAKEFILE(dlls/qwave)
WINE_CONFIG_MAKEFILE(dlls/rasapi16.dll16,enable_win16)
WINE_CONFIG_MAKEFILE(dlls/rasapi32)
WINE_CONFIG_MAKEFILE(dlls/rasapi32/tests)

View File

@ -0,0 +1,4 @@
MODULE = qwave.dll
C_SRCS = \
main.c

41
dlls/qwave/main.c 100644
View File

@ -0,0 +1,41 @@
/*
* Copyright 2018 Louis Lenders
*
* 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 "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(qwave);
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
{
TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
break;
}
return TRUE;
}

View File

@ -0,0 +1,14 @@
@ stub QDLHPathDiagnostics
@ stub QDLHStartDiagnosingPath
@ stub QOSAddSocketToFlow
@ stub QOSCancel
@ stub QOSCloseHandle
@ stub QOSCreateHandle
@ stub QOSEnumerateFlows
@ stub QOSNotifyFlow
@ stub QOSQueryFlow
@ stub QOSRemoveSocketFromFlow
@ stub QOSSetFlow
@ stub QOSStartTrackingClient
@ stub QOSStopTrackingClient
@ stub ServiceMain