Add dwmapi.dll stub.

This commit is contained in:
Kovács András 2007-06-19 09:36:14 +02:00 committed by Alexandre Julliard
parent 027afb495a
commit c0ddd5e33e
9 changed files with 148 additions and 0 deletions

2
.gitignore vendored
View File

@ -231,6 +231,8 @@ dlls/dsound/tests/dsound_crosstest.exe
dlls/dsound/tests/testlist.c
dlls/dsound/version.res
dlls/dswave/version.res
dlls/dwmapi/libdwmapi.def
dlls/dwmapi/version.res
dlls/dxdiagn/version.res
dlls/gdi.exe16
dlls/gdi32/libgdi32.def

View File

@ -227,6 +227,7 @@ ALL_MAKEFILES = \
dlls/dsound/Makefile \
dlls/dsound/tests/Makefile \
dlls/dswave/Makefile \
dlls/dwmapi/Makefile \
dlls/dxdiagn/Makefile \
dlls/dxerr8/Makefile \
dlls/dxerr9/Makefile \
@ -584,6 +585,7 @@ dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules
dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules
dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in dlls/Maketest.rules
dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules
dlls/dwmapi/Makefile: dlls/dwmapi/Makefile.in dlls/Makedll.rules
dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules
dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules
dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules

3
configure vendored
View File

@ -20524,6 +20524,8 @@ ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
ac_config_files="$ac_config_files dlls/dswave/Makefile"
ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
@ -21705,6 +21707,7 @@ do
"dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
"dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
"dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
"dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
"dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
"dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
"dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;

View File

@ -1514,6 +1514,7 @@ AC_CONFIG_FILES([dlls/dpnhpast/Makefile])
AC_CONFIG_FILES([dlls/dsound/Makefile])
AC_CONFIG_FILES([dlls/dsound/tests/Makefile])
AC_CONFIG_FILES([dlls/dswave/Makefile])
AC_CONFIG_FILES([dlls/dwmapi/Makefile])
AC_CONFIG_FILES([dlls/dxdiagn/Makefile])
AC_CONFIG_FILES([dlls/dxerr8/Makefile])
AC_CONFIG_FILES([dlls/dxerr9/Makefile])

View File

@ -70,6 +70,7 @@ BASEDIRS = \
dpnhpast \
dsound \
dswave \
dwmapi \
dxdiagn \
gdi32 \
gdiplus \
@ -505,6 +506,7 @@ IMPORT_LIBS = \
dplayx/libdplayx.$(IMPLIBEXT) \
dpnet/libdpnet.$(IMPLIBEXT) \
dsound/libdsound.$(IMPLIBEXT) \
dwmapi/libdwmapi.$(IMPLIBEXT) \
gdi32/libgdi32.$(IMPLIBEXT) \
gdiplus/libgdiplus.$(IMPLIBEXT) \
glu32/libglu32.$(IMPLIBEXT) \
@ -706,6 +708,9 @@ dpnet/libdpnet.$(IMPLIBEXT): dpnet/dpnet.spec $(WINEBUILD)
dsound/libdsound.$(IMPLIBEXT): dsound/dsound.spec $(WINEBUILD)
@cd dsound && $(MAKE) libdsound.$(IMPLIBEXT)
dwmapi/libdwmapi.$(IMPLIBEXT): dwmapi/dwmapi.spec $(WINEBUILD)
@cd dwmapi && $(MAKE) libdwmapi.$(IMPLIBEXT)
gdi32/libgdi32.$(IMPLIBEXT): gdi32/gdi32.spec $(WINEBUILD)
@cd gdi32 && $(MAKE) libgdi32.$(IMPLIBEXT)

16
dlls/dwmapi/Makefile.in Normal file
View File

@ -0,0 +1,16 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dwmapi.dll
IMPORTLIB = libdwmapi.$(IMPLIBEXT)
IMPORTS = user32 kernel32
C_SRCS = \
dwmapi_main.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

44
dlls/dwmapi/dwmapi.spec Normal file
View File

@ -0,0 +1,44 @@
100 stub @
101 stub @
102 stub DwmEnableComposition
103 stub @
104 stub @
105 stub @
106 stub @
107 stub @
108 stub @
109 stub @
110 stub @
111 stub @
112 stub @
113 stub @
115 stub @
116 stub @
117 stub @
118 stub @
119 stub @
120 stub @
@ stub DwmAttachMilContent
@ stub DwmDefWindowProc
@ stub DwmDetachMilContent
@ stub DwmEnableBlurBehindWindow
@ stub DwmEnableMMCSS
@ stub DwmExtendFrameIntoClientArea
@ stub DwmFlush
@ stub DwmGetColorizationColor
@ stub DwmGetCompositionTimingInfo
@ stub DwmGetGraphicsStreamClient
@ stub DwmGetGraphicsStreamTransformHint
@ stub DwmGetTransportAttributes
@ stub DwmGetWindowAttribute
@ stub DwmIsCompositionEnabled
@ stub DwmModifyPreviousDxFrameDuration
@ stub DwmQueryThumbnailSourceSize
@ stub DwmRegisterThumbnail
@ stub DwmSetDxFrameDuration
@ stub DwmSetPresentParameters
@ stub DwmSetWindowAttribute
@ stub DwmUnregisterThumbnail
@ stub DwmUpdateThumbnailProperties

49
dlls/dwmapi/dwmapi_main.c Normal file
View File

@ -0,0 +1,49 @@
/*
* Dwmapi
*
* Copyright 2007 Andras Kovacs
*
* 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>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dwmapi);
/* At process attach */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hInstDLL );
break;
}
return TRUE;
}

26
dlls/dwmapi/version.rc Normal file
View File

@ -0,0 +1,26 @@
/*
* Copyright 2007 Andras Kovacs
*
* 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
*/
#define WINE_FILEDESCRIPTION_STR "Desktop Window Manager API"
#define WINE_FILENAME_STR "dwmapi.dll"
#define WINE_FILEVERSION 6,0,6000,16386
#define WINE_FILEVERSION_STR "6.0.6000.16386"
#define WINE_PRODUCTVERSION 6,0,6000,16386
#define WINE_PRODUCTVERSION_STR "6.0.6000.16386"
#include "wine/wine_common_ver.rc"