vkd3d/include/dxgibase.idl

35 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-06-26 14:08:31 -07:00
/*
* Copyright 2016 Józef Kucia for CodeWeavers
*
* 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
*/
import "vkd3d_windows.h";
import "dxgiformat.idl";
cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL")
2017-06-26 14:08:31 -07:00
cpp_quote("#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001)")
cpp_quote("#endif")
cpp_quote("#ifndef DXGI_ERROR_DEVICE_REMOVED")
2017-06-26 14:08:31 -07:00
cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)")
cpp_quote("#endif")
2017-06-26 14:08:31 -07:00
typedef struct DXGI_SAMPLE_DESC
{
UINT Count;
UINT Quality;
} DXGI_SAMPLE_DESC;