vkd3d/include/dxgi1_3.idl

51 lines
1.6 KiB
Plaintext
Raw Normal View History

/*
* Copyright 2016 Józef Kucia for CodeWeavers
* Copyright 2016 Henri Verbeet for CodeWeavers
*
2017-06-16 12:05:54 -07:00
* 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.
*
2017-06-16 12:05:54 -07:00
* 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.
*
2017-06-16 12:05:54 -07:00
* 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 "dxgi1_2.idl";
typedef struct DXGI_MATRIX_3X2_F DXGI_MATRIX_3X2_F;
[
local,
object,
uuid(a8be2ac4-199f-4946-b331-79599fb98de7),
pointer_default(unique)
]
interface IDXGISwapChain2 : IDXGISwapChain1
{
HRESULT SetSourceSize(UINT width, UINT height);
HRESULT GetSourceSize(UINT *width, UINT *height);
HRESULT SetMaximumFrameLatency(UINT latency);
HRESULT GetMaximumFrameLatency(UINT *latency);
HANDLE GetFrameLatencyWaitableObject();
HRESULT SetMatrixTransform(const DXGI_MATRIX_3X2_F *matrix);
HRESULT GetMatrixTransform(DXGI_MATRIX_3X2_F *matrix);
};
2017-08-15 03:24:44 -07:00
[
local,
object,
uuid(25483823-cd46-4c7d-86ca-47aa95b837bd),
pointer_default(unique)
]
interface IDXGIFactory3 : IDXGIFactory2
{
UINT GetCreationFlags();
};