dxva2: Added stub dll.

This commit is contained in:
Michael Müller 2014-03-24 00:05:38 +01:00 committed by Alexandre Julliard
parent f9862efa48
commit b1f2e33cc2
5 changed files with 84 additions and 0 deletions

2
configure vendored
View File

@ -1024,6 +1024,7 @@ enable_dwmapi
enable_dwrite
enable_dxdiagn
enable_dxgi
enable_dxva2
enable_explorerframe
enable_ext_ms_win_gdi_devcaps_l1_1_0
enable_faultrep
@ -16851,6 +16852,7 @@ wine_fn_config_lib dxerr9
wine_fn_config_dll dxgi enable_dxgi implib
wine_fn_config_test dlls/dxgi/tests dxgi_test
wine_fn_config_lib dxguid
wine_fn_config_dll dxva2 enable_dxva2
wine_fn_config_dll explorerframe enable_explorerframe clean
wine_fn_config_test dlls/explorerframe/tests explorerframe_test
wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0

View File

@ -2855,6 +2855,7 @@ WINE_CONFIG_LIB(dxerr9)
WINE_CONFIG_DLL(dxgi,,[implib])
WINE_CONFIG_TEST(dlls/dxgi/tests)
WINE_CONFIG_LIB(dxguid)
WINE_CONFIG_DLL(dxva2)
WINE_CONFIG_DLL(explorerframe,,[clean])
WINE_CONFIG_TEST(dlls/explorerframe/tests)
WINE_CONFIG_DLL(ext-ms-win-gdi-devcaps-l1-1-0)

4
dlls/dxva2/Makefile.in Normal file
View File

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

37
dlls/dxva2/dxva2.spec Normal file
View File

@ -0,0 +1,37 @@
@ stub CapabilitiesRequestAndCapabilitiesReply
@ stub DXVA2CreateDirect3DDeviceManager9
@ stub DXVA2CreateVideoService
@ stub DegaussMonitor
@ stub DestroyPhysicalMonitor
@ stub DestroyPhysicalMonitors
@ stub GetCapabilitiesStringLength
@ stub GetMonitorBrightness
@ stub GetMonitorCapabilities
@ stub GetMonitorColorTemperature
@ stub GetMonitorContrast
@ stub GetMonitorDisplayAreaPosition
@ stub GetMonitorDisplayAreaSize
@ stub GetMonitorRedGreenOrBlueDrive
@ stub GetMonitorRedGreenOrBlueGain
@ stub GetMonitorTechnologyType
@ stub GetNumberOfPhysicalMonitorsFromHMONITOR
@ stub GetNumberOfPhysicalMonitorsFromIDirect3DDevice9
@ stub GetPhysicalMonitorsFromHMONITOR
@ stub GetPhysicalMonitorsFromIDirect3DDevice9
@ stub GetTimingReport
@ stub GetVCPFeatureAndVCPFeatureReply
@ stub OPMGetVideoOutputsFromHMONITOR
@ stub OPMGetVideoOutputsFromIDirect3DDevice9Object
@ stub RestoreMonitorFactoryColorDefaults
@ stub RestoreMonitorFactoryDefaults
@ stub SaveCurrentMonitorSettings
@ stub SaveCurrentSettings
@ stub SetMonitorBrightness
@ stub SetMonitorColorTemperature
@ stub SetMonitorContrast
@ stub SetMonitorDisplayAreaPosition
@ stub SetMonitorDisplayAreaSize
@ stub SetMonitorRedGreenOrBlueDrive
@ stub SetMonitorRedGreenOrBlueGain
@ stub SetVCPFeature
@ stub UABGetCertificate

40
dlls/dxva2/main.c Normal file
View File

@ -0,0 +1,40 @@
/*
* Copyright 2014 Michael Müller for Pipelight
*
* 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 <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dxva2);
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason) {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}