include: Add dxcore.h file.
This commit is contained in:
parent
ef79bf9111
commit
3c4c935f64
2 changed files with 30 additions and 0 deletions
|
@ -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
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…
Add table
Reference in a new issue