1/* 2 * Copyright 2016 Józef Kucia for CodeWeavers 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 */ 18 19import "vkd3d_windows.h"; 20 21import "vkd3d_dxgiformat.idl"; 22 23cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL") 24cpp_quote("#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001)") 25cpp_quote("#endif") 26cpp_quote("#ifndef DXGI_ERROR_DEVICE_REMOVED") 27cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)") 28cpp_quote("#endif") 29 30typedef struct DXGI_SAMPLE_DESC 31{ 32 UINT Count; 33 UINT Quality; 34} DXGI_SAMPLE_DESC; 35