1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Add dxcore.h file.

This commit is contained in:
Mohamad Al-Jaf 2023-08-11 20:51:49 -04:00 committed by Alexandre Julliard
parent ef79bf9111
commit 3c4c935f64
2 changed files with 30 additions and 0 deletions

View File

@ -282,6 +282,7 @@ SOURCES = \
dwrite_1.idl \
dwrite_2.idl \
dwrite_3.idl \
dxcore.h \
dxcore_interface.h \
dxdiag.h \
dxerr8.h \

29
include/dxcore.h Normal file
View File

@ -0,0 +1,29 @@
/*
* Copyright (C) 2023 Mohamad Al-Jaf
*
* 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 "dxcore_interface.h"
STDAPI DXCoreCreateAdapterFactory(REFIID,void **);
#ifdef __cplusplus
template <class T>
HRESULT DXCoreCreateAdapterFactory(T **ppv)
{
return DXCoreCreateAdapterFactory(IID_PPV_ARGS(ppv));
}
#endif