dwmapi: Add dwmapi.h and update win32.api to fix the winapi_check warnings.

This commit is contained in:
Francois Gouget 2007-08-04 03:21:06 +02:00 committed by Alexandre Julliard
parent d44b6d4662
commit 5e565a76b4
4 changed files with 51 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "dwmapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dwmapi);

View File

@ -152,6 +152,7 @@ SRCDIR_INCLUDES = \
dshow.h \
dsound.h \
dsrole.h \
dwmapi.h \
dxdiag.h \
dxerr8.h \
dxerr9.h \

39
include/dwmapi.h Normal file
View File

@ -0,0 +1,39 @@
/*
* 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
*/
#ifndef __WINE_DWMAPI_H
#define __WINE_DWMAPI_H
#include "wtypes.h"
#include "uxtheme.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DWMAPI
# define DWMAPI STDAPI
# define DWMAPI_(type) STDAPI_(type)
#endif
DWMAPI DwmEnableComposition(UINT);
DWMAPI DwmIsCompositionEnabled(BOOL*);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_DWMAPI_H */

View File

@ -1306,6 +1306,16 @@ LPVOID *
REFCLSID
REFIID
%%dwmapi.dll
%long
HRESULT
%ptr
BOOL *
%%dxdiagn.dll
%ptr