/*
 * 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 "vkd3d_dxgiformat.idl";

cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL")
cpp_quote("#define DXGI_ERROR_INVALID_CALL   _HRESULT_TYPEDEF_(0x887a0001)")
cpp_quote("#endif")
cpp_quote("#ifndef DXGI_ERROR_DEVICE_REMOVED")
cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)")
cpp_quote("#endif")
cpp_quote("#ifndef DXGI_ERROR_SDK_COMPONENT_MISSING")
cpp_quote("#define DXGI_ERROR_SDK_COMPONENT_MISSING _HRESULT_TYPEDEF_(0x887a002d)")
cpp_quote("#endif")
cpp_quote("#ifndef DXGI_STATUS_OCCLUDED")
cpp_quote("#define DXGI_STATUS_OCCLUDED _HRESULT_TYPEDEF_(0x087a0001)")
cpp_quote("#endif")

typedef struct DXGI_SAMPLE_DESC
{
    UINT Count;
    UINT Quality;
} DXGI_SAMPLE_DESC;

typedef struct DXGI_RGB
{
    float Red;
    float Green;
    float Blue;
} DXGI_RGB;
