dwmapi: Add dwmapi.h and update win32.api to fix the winapi_check warnings.
This commit is contained in:
parent
d44b6d4662
commit
5e565a76b4
|
@ -29,6 +29,7 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
|
#include "dwmapi.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(dwmapi);
|
WINE_DEFAULT_DEBUG_CHANNEL(dwmapi);
|
||||||
|
|
|
@ -152,6 +152,7 @@ SRCDIR_INCLUDES = \
|
||||||
dshow.h \
|
dshow.h \
|
||||||
dsound.h \
|
dsound.h \
|
||||||
dsrole.h \
|
dsrole.h \
|
||||||
|
dwmapi.h \
|
||||||
dxdiag.h \
|
dxdiag.h \
|
||||||
dxerr8.h \
|
dxerr8.h \
|
||||||
dxerr9.h \
|
dxerr9.h \
|
||||||
|
|
|
@ -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 */
|
|
@ -1306,6 +1306,16 @@ LPVOID *
|
||||||
REFCLSID
|
REFCLSID
|
||||||
REFIID
|
REFIID
|
||||||
|
|
||||||
|
%%dwmapi.dll
|
||||||
|
|
||||||
|
%long
|
||||||
|
|
||||||
|
HRESULT
|
||||||
|
|
||||||
|
%ptr
|
||||||
|
|
||||||
|
BOOL *
|
||||||
|
|
||||||
%%dxdiagn.dll
|
%%dxdiagn.dll
|
||||||
|
|
||||||
%ptr
|
%ptr
|
||||||
|
|
Loading…
Reference in New Issue