Commit 5e565a76 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent d44b6d46
......@@ -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);
......
......@@ -152,6 +152,7 @@ SRCDIR_INCLUDES = \
dshow.h \
dsound.h \
dsrole.h \
dwmapi.h \
dxdiag.h \
dxerr8.h \
dxerr9.h \
......
/*
* 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 */
......@@ -1306,6 +1306,16 @@ LPVOID *
REFCLSID
REFIID
%%dwmapi.dll
%long
HRESULT
%ptr
BOOL *
%%dxdiagn.dll
%ptr
......
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