mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 18:58:29 +00:00
include: Add dxcore.h file.
This commit is contained in:
parent
ef79bf9111
commit
3c4c935f64
|
@ -282,6 +282,7 @@ SOURCES = \
|
||||||
dwrite_1.idl \
|
dwrite_1.idl \
|
||||||
dwrite_2.idl \
|
dwrite_2.idl \
|
||||||
dwrite_3.idl \
|
dwrite_3.idl \
|
||||||
|
dxcore.h \
|
||||||
dxcore_interface.h \
|
dxcore_interface.h \
|
||||||
dxdiag.h \
|
dxdiag.h \
|
||||||
dxerr8.h \
|
dxerr8.h \
|
||||||
|
|
29
include/dxcore.h
Normal file
29
include/dxcore.h
Normal 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
|
Loading…
Reference in a new issue