2 * Copyright 2017 Steve Lhomme
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.
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.
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
21 cpp_quote
("/* HACK as widl segfaults with too many imports */")
22 cpp_quote
("#include <dxgi1_5.h>")
23 cpp_quote
("#ifndef __dxgi1_5_h__")
28 uuid(80A07424
-AB52
-42EB
-833C
-0C42FD282D98
)
30 interface IDXGIOutput5
: IDXGIOutput4
32 HRESULT DuplicateOutput1
(
33 [in] IUnknown
*pDevice
,
35 [in] UINT SupportedFormatsCount
,
36 [in] const DXGI_FORMAT
*pSupportedFormats
,
37 [out] IDXGIOutputDuplication
**ppOutputDuplication
41 cpp_quote
("#endif /* __dxgi1_5_h__ */")
43 typedef struct DXGI_OUTPUT_DESC1
46 RECT DesktopCoordinates
;
47 BOOL AttachedToDesktop
;
48 DXGI_MODE_ROTATION Rotation
;
51 DXGI_COLOR_SPACE_TYPE ColorSpace
;
53 FLOAT GreenPrimary
[2];
58 FLOAT MaxFullFrameLuminance
;
65 uuid(068346e8
-aaec
-4b84
-add7
-137f513f77a1
)
67 interface IDXGIOutput6
: IDXGIOutput5
70 [out] DXGI_OUTPUT_DESC1
*pDesc