1pub const DXGI_ALPHA_MODE_IGNORE: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(3i32);
2pub const DXGI_ALPHA_MODE_PREMULTIPLIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(1i32);
3pub const DXGI_ALPHA_MODE_STRAIGHT: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(2i32);
4pub const DXGI_ALPHA_MODE_UNSPECIFIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(0i32);
5pub const DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN: u32 = 4294967294u32;
6pub const DXGI_COLOR_SPACE_CUSTOM: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(-1i32);
7pub const DXGI_COLOR_SPACE_RESERVED: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(4i32);
8pub const DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(1i32);
9pub const DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(12i32);
10pub const DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(17i32);
11pub const DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(0i32);
12pub const DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(14i32);
13pub const DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(3i32);
14pub const DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(2i32);
15pub const DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(21i32);
16pub const DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(20i32);
17pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(11i32);
18pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(7i32);
19pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(9i32);
20pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(5i32);
21pub const DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(19i32);
22pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(13i32);
23pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(16i32);
24pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(10i32);
25pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(6i32);
26pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(8i32);
27pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(15i32);
28pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(23i32);
29pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(22i32);
30pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(24i32);
31pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(18i32);
32pub const DXGI_CPU_ACCESS_DYNAMIC: u32 = 1u32;
33pub const DXGI_CPU_ACCESS_FIELD: u32 = 15u32;
34pub const DXGI_CPU_ACCESS_NONE: u32 = 0u32;
35pub const DXGI_CPU_ACCESS_READ_WRITE: u32 = 2u32;
36pub const DXGI_CPU_ACCESS_SCRATCH: u32 = 3u32;
37pub const DXGI_FORMAT_420_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(106i32);
38pub const DXGI_FORMAT_A4B4G4R4_UNORM: DXGI_FORMAT = DXGI_FORMAT(191i32);
39pub const DXGI_FORMAT_A8P8: DXGI_FORMAT = DXGI_FORMAT(114i32);
40pub const DXGI_FORMAT_A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(65i32);
41pub const DXGI_FORMAT_AI44: DXGI_FORMAT = DXGI_FORMAT(111i32);
42pub const DXGI_FORMAT_AYUV: DXGI_FORMAT = DXGI_FORMAT(100i32);
43pub const DXGI_FORMAT_B4G4R4A4_UNORM: DXGI_FORMAT = DXGI_FORMAT(115i32);
44pub const DXGI_FORMAT_B5G5R5A1_UNORM: DXGI_FORMAT = DXGI_FORMAT(86i32);
45pub const DXGI_FORMAT_B5G6R5_UNORM: DXGI_FORMAT = DXGI_FORMAT(85i32);
46pub const DXGI_FORMAT_B8G8R8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(90i32);
47pub const DXGI_FORMAT_B8G8R8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(87i32);
48pub const DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(91i32);
49pub const DXGI_FORMAT_B8G8R8X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(92i32);
50pub const DXGI_FORMAT_B8G8R8X8_UNORM: DXGI_FORMAT = DXGI_FORMAT(88i32);
51pub const DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(93i32);
52pub const DXGI_FORMAT_BC1_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(70i32);
53pub const DXGI_FORMAT_BC1_UNORM: DXGI_FORMAT = DXGI_FORMAT(71i32);
54pub const DXGI_FORMAT_BC1_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(72i32);
55pub const DXGI_FORMAT_BC2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(73i32);
56pub const DXGI_FORMAT_BC2_UNORM: DXGI_FORMAT = DXGI_FORMAT(74i32);
57pub const DXGI_FORMAT_BC2_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(75i32);
58pub const DXGI_FORMAT_BC3_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(76i32);
59pub const DXGI_FORMAT_BC3_UNORM: DXGI_FORMAT = DXGI_FORMAT(77i32);
60pub const DXGI_FORMAT_BC3_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(78i32);
61pub const DXGI_FORMAT_BC4_SNORM: DXGI_FORMAT = DXGI_FORMAT(81i32);
62pub const DXGI_FORMAT_BC4_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(79i32);
63pub const DXGI_FORMAT_BC4_UNORM: DXGI_FORMAT = DXGI_FORMAT(80i32);
64pub const DXGI_FORMAT_BC5_SNORM: DXGI_FORMAT = DXGI_FORMAT(84i32);
65pub const DXGI_FORMAT_BC5_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(82i32);
66pub const DXGI_FORMAT_BC5_UNORM: DXGI_FORMAT = DXGI_FORMAT(83i32);
67pub const DXGI_FORMAT_BC6H_SF16: DXGI_FORMAT = DXGI_FORMAT(96i32);
68pub const DXGI_FORMAT_BC6H_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(94i32);
69pub const DXGI_FORMAT_BC6H_UF16: DXGI_FORMAT = DXGI_FORMAT(95i32);
70pub const DXGI_FORMAT_BC7_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(97i32);
71pub const DXGI_FORMAT_BC7_UNORM: DXGI_FORMAT = DXGI_FORMAT(98i32);
72pub const DXGI_FORMAT_BC7_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(99i32);
73pub const DXGI_FORMAT_D16_UNORM: DXGI_FORMAT = DXGI_FORMAT(55i32);
74pub const DXGI_FORMAT_D24_UNORM_S8_UINT: DXGI_FORMAT = DXGI_FORMAT(45i32);
75pub const DXGI_FORMAT_D32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(40i32);
76pub const DXGI_FORMAT_D32_FLOAT_S8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(20i32);
77pub const DXGI_FORMAT_DEFINED: u32 = 1u32;
78pub const DXGI_FORMAT_G8R8_G8B8_UNORM: DXGI_FORMAT = DXGI_FORMAT(69i32);
79pub const DXGI_FORMAT_IA44: DXGI_FORMAT = DXGI_FORMAT(112i32);
80pub const DXGI_FORMAT_NV11: DXGI_FORMAT = DXGI_FORMAT(110i32);
81pub const DXGI_FORMAT_NV12: DXGI_FORMAT = DXGI_FORMAT(103i32);
82pub const DXGI_FORMAT_P010: DXGI_FORMAT = DXGI_FORMAT(104i32);
83pub const DXGI_FORMAT_P016: DXGI_FORMAT = DXGI_FORMAT(105i32);
84pub const DXGI_FORMAT_P208: DXGI_FORMAT = DXGI_FORMAT(130i32);
85pub const DXGI_FORMAT_P8: DXGI_FORMAT = DXGI_FORMAT(113i32);
86pub const DXGI_FORMAT_R10G10B10A2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(23i32);
87pub const DXGI_FORMAT_R10G10B10A2_UINT: DXGI_FORMAT = DXGI_FORMAT(25i32);
88pub const DXGI_FORMAT_R10G10B10A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(24i32);
89pub const DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(89i32);
90pub const DXGI_FORMAT_R11G11B10_FLOAT: DXGI_FORMAT = DXGI_FORMAT(26i32);
91pub const DXGI_FORMAT_R16G16B16A16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(10i32);
92pub const DXGI_FORMAT_R16G16B16A16_SINT: DXGI_FORMAT = DXGI_FORMAT(14i32);
93pub const DXGI_FORMAT_R16G16B16A16_SNORM: DXGI_FORMAT = DXGI_FORMAT(13i32);
94pub const DXGI_FORMAT_R16G16B16A16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(9i32);
95pub const DXGI_FORMAT_R16G16B16A16_UINT: DXGI_FORMAT = DXGI_FORMAT(12i32);
96pub const DXGI_FORMAT_R16G16B16A16_UNORM: DXGI_FORMAT = DXGI_FORMAT(11i32);
97pub const DXGI_FORMAT_R16G16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(34i32);
98pub const DXGI_FORMAT_R16G16_SINT: DXGI_FORMAT = DXGI_FORMAT(38i32);
99pub const DXGI_FORMAT_R16G16_SNORM: DXGI_FORMAT = DXGI_FORMAT(37i32);
100pub const DXGI_FORMAT_R16G16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(33i32);
101pub const DXGI_FORMAT_R16G16_UINT: DXGI_FORMAT = DXGI_FORMAT(36i32);
102pub const DXGI_FORMAT_R16G16_UNORM: DXGI_FORMAT = DXGI_FORMAT(35i32);
103pub const DXGI_FORMAT_R16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(54i32);
104pub const DXGI_FORMAT_R16_SINT: DXGI_FORMAT = DXGI_FORMAT(59i32);
105pub const DXGI_FORMAT_R16_SNORM: DXGI_FORMAT = DXGI_FORMAT(58i32);
106pub const DXGI_FORMAT_R16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(53i32);
107pub const DXGI_FORMAT_R16_UINT: DXGI_FORMAT = DXGI_FORMAT(57i32);
108pub const DXGI_FORMAT_R16_UNORM: DXGI_FORMAT = DXGI_FORMAT(56i32);
109pub const DXGI_FORMAT_R1_UNORM: DXGI_FORMAT = DXGI_FORMAT(66i32);
110pub const DXGI_FORMAT_R24G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(44i32);
111pub const DXGI_FORMAT_R24_UNORM_X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(46i32);
112pub const DXGI_FORMAT_R32G32B32A32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(2i32);
113pub const DXGI_FORMAT_R32G32B32A32_SINT: DXGI_FORMAT = DXGI_FORMAT(4i32);
114pub const DXGI_FORMAT_R32G32B32A32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(1i32);
115pub const DXGI_FORMAT_R32G32B32A32_UINT: DXGI_FORMAT = DXGI_FORMAT(3i32);
116pub const DXGI_FORMAT_R32G32B32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(6i32);
117pub const DXGI_FORMAT_R32G32B32_SINT: DXGI_FORMAT = DXGI_FORMAT(8i32);
118pub const DXGI_FORMAT_R32G32B32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(5i32);
119pub const DXGI_FORMAT_R32G32B32_UINT: DXGI_FORMAT = DXGI_FORMAT(7i32);
120pub const DXGI_FORMAT_R32G32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(16i32);
121pub const DXGI_FORMAT_R32G32_SINT: DXGI_FORMAT = DXGI_FORMAT(18i32);
122pub const DXGI_FORMAT_R32G32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(15i32);
123pub const DXGI_FORMAT_R32G32_UINT: DXGI_FORMAT = DXGI_FORMAT(17i32);
124pub const DXGI_FORMAT_R32G8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(19i32);
125pub const DXGI_FORMAT_R32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(41i32);
126pub const DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(21i32);
127pub const DXGI_FORMAT_R32_SINT: DXGI_FORMAT = DXGI_FORMAT(43i32);
128pub const DXGI_FORMAT_R32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(39i32);
129pub const DXGI_FORMAT_R32_UINT: DXGI_FORMAT = DXGI_FORMAT(42i32);
130pub const DXGI_FORMAT_R8G8B8A8_SINT: DXGI_FORMAT = DXGI_FORMAT(32i32);
131pub const DXGI_FORMAT_R8G8B8A8_SNORM: DXGI_FORMAT = DXGI_FORMAT(31i32);
132pub const DXGI_FORMAT_R8G8B8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(27i32);
133pub const DXGI_FORMAT_R8G8B8A8_UINT: DXGI_FORMAT = DXGI_FORMAT(30i32);
134pub const DXGI_FORMAT_R8G8B8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(28i32);
135pub const DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(29i32);
136pub const DXGI_FORMAT_R8G8_B8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(68i32);
137pub const DXGI_FORMAT_R8G8_SINT: DXGI_FORMAT = DXGI_FORMAT(52i32);
138pub const DXGI_FORMAT_R8G8_SNORM: DXGI_FORMAT = DXGI_FORMAT(51i32);
139pub const DXGI_FORMAT_R8G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(48i32);
140pub const DXGI_FORMAT_R8G8_UINT: DXGI_FORMAT = DXGI_FORMAT(50i32);
141pub const DXGI_FORMAT_R8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(49i32);
142pub const DXGI_FORMAT_R8_SINT: DXGI_FORMAT = DXGI_FORMAT(64i32);
143pub const DXGI_FORMAT_R8_SNORM: DXGI_FORMAT = DXGI_FORMAT(63i32);
144pub const DXGI_FORMAT_R8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(60i32);
145pub const DXGI_FORMAT_R8_UINT: DXGI_FORMAT = DXGI_FORMAT(62i32);
146pub const DXGI_FORMAT_R8_UNORM: DXGI_FORMAT = DXGI_FORMAT(61i32);
147pub const DXGI_FORMAT_R9G9B9E5_SHAREDEXP: DXGI_FORMAT = DXGI_FORMAT(67i32);
148pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(189i32);
149pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(190i32);
150pub const DXGI_FORMAT_UNKNOWN: DXGI_FORMAT = DXGI_FORMAT(0i32);
151pub const DXGI_FORMAT_V208: DXGI_FORMAT = DXGI_FORMAT(131i32);
152pub const DXGI_FORMAT_V408: DXGI_FORMAT = DXGI_FORMAT(132i32);
153pub const DXGI_FORMAT_X24_TYPELESS_G8_UINT: DXGI_FORMAT = DXGI_FORMAT(47i32);
154pub const DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(22i32);
155pub const DXGI_FORMAT_Y210: DXGI_FORMAT = DXGI_FORMAT(108i32);
156pub const DXGI_FORMAT_Y216: DXGI_FORMAT = DXGI_FORMAT(109i32);
157pub const DXGI_FORMAT_Y410: DXGI_FORMAT = DXGI_FORMAT(101i32);
158pub const DXGI_FORMAT_Y416: DXGI_FORMAT = DXGI_FORMAT(102i32);
159pub const DXGI_FORMAT_YUY2: DXGI_FORMAT = DXGI_FORMAT(107i32);
160pub const DXGI_MODE_ROTATION_IDENTITY: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(1i32);
161pub const DXGI_MODE_ROTATION_ROTATE180: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(3i32);
162pub const DXGI_MODE_ROTATION_ROTATE270: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(4i32);
163pub const DXGI_MODE_ROTATION_ROTATE90: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(2i32);
164pub const DXGI_MODE_ROTATION_UNSPECIFIED: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(0i32);
165pub const DXGI_MODE_SCALING_CENTERED: DXGI_MODE_SCALING = DXGI_MODE_SCALING(1i32);
166pub const DXGI_MODE_SCALING_STRETCHED: DXGI_MODE_SCALING = DXGI_MODE_SCALING(2i32);
167pub const DXGI_MODE_SCALING_UNSPECIFIED: DXGI_MODE_SCALING = DXGI_MODE_SCALING(0i32);
168pub const DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(3i32);
169pub const DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(1i32);
170pub const DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(0i32);
171pub const DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(2i32);
172pub const DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN: u32 = 4294967295u32;
173pub const _FACDXGI: u32 = 2170u32;
174#[repr(transparent)]
175#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
176pub struct DXGI_ALPHA_MODE(pub i32);
177impl ::core::marker::Copy for DXGI_ALPHA_MODE {}
178impl ::core::clone::Clone for DXGI_ALPHA_MODE {
179 fn clone(&self) -> Self {
180 *self
181 }
182}
183impl ::core::default::Default for DXGI_ALPHA_MODE {
184 fn default() -> Self {
185 Self(0)
186 }
187}
188impl ::windows_core::TypeKind for DXGI_ALPHA_MODE {
189 type TypeKind = ::windows_core::CopyType;
190}
191impl ::core::fmt::Debug for DXGI_ALPHA_MODE {
192 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
193 f.debug_tuple(name:"DXGI_ALPHA_MODE").field(&self.0).finish()
194 }
195}
196#[repr(transparent)]
197#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
198pub struct DXGI_COLOR_SPACE_TYPE(pub i32);
199impl ::core::marker::Copy for DXGI_COLOR_SPACE_TYPE {}
200impl ::core::clone::Clone for DXGI_COLOR_SPACE_TYPE {
201 fn clone(&self) -> Self {
202 *self
203 }
204}
205impl ::core::default::Default for DXGI_COLOR_SPACE_TYPE {
206 fn default() -> Self {
207 Self(0)
208 }
209}
210impl ::windows_core::TypeKind for DXGI_COLOR_SPACE_TYPE {
211 type TypeKind = ::windows_core::CopyType;
212}
213impl ::core::fmt::Debug for DXGI_COLOR_SPACE_TYPE {
214 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
215 f.debug_tuple(name:"DXGI_COLOR_SPACE_TYPE").field(&self.0).finish()
216 }
217}
218#[repr(transparent)]
219#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
220pub struct DXGI_FORMAT(pub i32);
221impl ::core::marker::Copy for DXGI_FORMAT {}
222impl ::core::clone::Clone for DXGI_FORMAT {
223 fn clone(&self) -> Self {
224 *self
225 }
226}
227impl ::core::default::Default for DXGI_FORMAT {
228 fn default() -> Self {
229 Self(0)
230 }
231}
232impl ::windows_core::TypeKind for DXGI_FORMAT {
233 type TypeKind = ::windows_core::CopyType;
234}
235impl ::core::fmt::Debug for DXGI_FORMAT {
236 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
237 f.debug_tuple(name:"DXGI_FORMAT").field(&self.0).finish()
238 }
239}
240#[repr(transparent)]
241#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
242pub struct DXGI_MODE_ROTATION(pub i32);
243impl ::core::marker::Copy for DXGI_MODE_ROTATION {}
244impl ::core::clone::Clone for DXGI_MODE_ROTATION {
245 fn clone(&self) -> Self {
246 *self
247 }
248}
249impl ::core::default::Default for DXGI_MODE_ROTATION {
250 fn default() -> Self {
251 Self(0)
252 }
253}
254impl ::windows_core::TypeKind for DXGI_MODE_ROTATION {
255 type TypeKind = ::windows_core::CopyType;
256}
257impl ::core::fmt::Debug for DXGI_MODE_ROTATION {
258 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
259 f.debug_tuple(name:"DXGI_MODE_ROTATION").field(&self.0).finish()
260 }
261}
262#[repr(transparent)]
263#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
264pub struct DXGI_MODE_SCALING(pub i32);
265impl ::core::marker::Copy for DXGI_MODE_SCALING {}
266impl ::core::clone::Clone for DXGI_MODE_SCALING {
267 fn clone(&self) -> Self {
268 *self
269 }
270}
271impl ::core::default::Default for DXGI_MODE_SCALING {
272 fn default() -> Self {
273 Self(0)
274 }
275}
276impl ::windows_core::TypeKind for DXGI_MODE_SCALING {
277 type TypeKind = ::windows_core::CopyType;
278}
279impl ::core::fmt::Debug for DXGI_MODE_SCALING {
280 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
281 f.debug_tuple(name:"DXGI_MODE_SCALING").field(&self.0).finish()
282 }
283}
284#[repr(transparent)]
285#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
286pub struct DXGI_MODE_SCANLINE_ORDER(pub i32);
287impl ::core::marker::Copy for DXGI_MODE_SCANLINE_ORDER {}
288impl ::core::clone::Clone for DXGI_MODE_SCANLINE_ORDER {
289 fn clone(&self) -> Self {
290 *self
291 }
292}
293impl ::core::default::Default for DXGI_MODE_SCANLINE_ORDER {
294 fn default() -> Self {
295 Self(0)
296 }
297}
298impl ::windows_core::TypeKind for DXGI_MODE_SCANLINE_ORDER {
299 type TypeKind = ::windows_core::CopyType;
300}
301impl ::core::fmt::Debug for DXGI_MODE_SCANLINE_ORDER {
302 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
303 f.debug_tuple(name:"DXGI_MODE_SCANLINE_ORDER").field(&self.0).finish()
304 }
305}
306#[repr(C)]
307pub struct DXGI_GAMMA_CONTROL {
308 pub Scale: DXGI_RGB,
309 pub Offset: DXGI_RGB,
310 pub GammaCurve: [DXGI_RGB; 1025],
311}
312impl ::core::marker::Copy for DXGI_GAMMA_CONTROL {}
313impl ::core::clone::Clone for DXGI_GAMMA_CONTROL {
314 fn clone(&self) -> Self {
315 *self
316 }
317}
318impl ::core::fmt::Debug for DXGI_GAMMA_CONTROL {
319 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
320 f.debug_struct("DXGI_GAMMA_CONTROL").field("Scale", &self.Scale).field("Offset", &self.Offset).field(name:"GammaCurve", &self.GammaCurve).finish()
321 }
322}
323impl ::windows_core::TypeKind for DXGI_GAMMA_CONTROL {
324 type TypeKind = ::windows_core::CopyType;
325}
326impl ::core::cmp::PartialEq for DXGI_GAMMA_CONTROL {
327 fn eq(&self, other: &Self) -> bool {
328 self.Scale == other.Scale && self.Offset == other.Offset && self.GammaCurve == other.GammaCurve
329 }
330}
331impl ::core::cmp::Eq for DXGI_GAMMA_CONTROL {}
332impl ::core::default::Default for DXGI_GAMMA_CONTROL {
333 fn default() -> Self {
334 unsafe { ::core::mem::zeroed() }
335 }
336}
337#[repr(C)]
338#[doc = "Required features: `\"Win32_Foundation\"`"]
339#[cfg(feature = "Win32_Foundation")]
340pub struct DXGI_GAMMA_CONTROL_CAPABILITIES {
341 pub ScaleAndOffsetSupported: super::super::super::Foundation::BOOL,
342 pub MaxConvertedValue: f32,
343 pub MinConvertedValue: f32,
344 pub NumGammaControlPoints: u32,
345 pub ControlPointPositions: [f32; 1025],
346}
347#[cfg(feature = "Win32_Foundation")]
348impl ::core::marker::Copy for DXGI_GAMMA_CONTROL_CAPABILITIES {}
349#[cfg(feature = "Win32_Foundation")]
350impl ::core::clone::Clone for DXGI_GAMMA_CONTROL_CAPABILITIES {
351 fn clone(&self) -> Self {
352 *self
353 }
354}
355#[cfg(feature = "Win32_Foundation")]
356impl ::core::fmt::Debug for DXGI_GAMMA_CONTROL_CAPABILITIES {
357 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
358 f.debug_struct("DXGI_GAMMA_CONTROL_CAPABILITIES").field("ScaleAndOffsetSupported", &self.ScaleAndOffsetSupported).field("MaxConvertedValue", &self.MaxConvertedValue).field("MinConvertedValue", &self.MinConvertedValue).field("NumGammaControlPoints", &self.NumGammaControlPoints).field(name:"ControlPointPositions", &self.ControlPointPositions).finish()
359 }
360}
361#[cfg(feature = "Win32_Foundation")]
362impl ::windows_core::TypeKind for DXGI_GAMMA_CONTROL_CAPABILITIES {
363 type TypeKind = ::windows_core::CopyType;
364}
365#[cfg(feature = "Win32_Foundation")]
366impl ::core::cmp::PartialEq for DXGI_GAMMA_CONTROL_CAPABILITIES {
367 fn eq(&self, other: &Self) -> bool {
368 self.ScaleAndOffsetSupported == other.ScaleAndOffsetSupported && self.MaxConvertedValue == other.MaxConvertedValue && self.MinConvertedValue == other.MinConvertedValue && self.NumGammaControlPoints == other.NumGammaControlPoints && self.ControlPointPositions == other.ControlPointPositions
369 }
370}
371#[cfg(feature = "Win32_Foundation")]
372impl ::core::cmp::Eq for DXGI_GAMMA_CONTROL_CAPABILITIES {}
373#[cfg(feature = "Win32_Foundation")]
374impl ::core::default::Default for DXGI_GAMMA_CONTROL_CAPABILITIES {
375 fn default() -> Self {
376 unsafe { ::core::mem::zeroed() }
377 }
378}
379#[repr(C)]
380pub struct DXGI_JPEG_AC_HUFFMAN_TABLE {
381 pub CodeCounts: [u8; 16],
382 pub CodeValues: [u8; 162],
383}
384impl ::core::marker::Copy for DXGI_JPEG_AC_HUFFMAN_TABLE {}
385impl ::core::clone::Clone for DXGI_JPEG_AC_HUFFMAN_TABLE {
386 fn clone(&self) -> Self {
387 *self
388 }
389}
390impl ::core::fmt::Debug for DXGI_JPEG_AC_HUFFMAN_TABLE {
391 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
392 f.debug_struct("DXGI_JPEG_AC_HUFFMAN_TABLE").field("CodeCounts", &self.CodeCounts).field(name:"CodeValues", &self.CodeValues).finish()
393 }
394}
395impl ::windows_core::TypeKind for DXGI_JPEG_AC_HUFFMAN_TABLE {
396 type TypeKind = ::windows_core::CopyType;
397}
398impl ::core::cmp::PartialEq for DXGI_JPEG_AC_HUFFMAN_TABLE {
399 fn eq(&self, other: &Self) -> bool {
400 self.CodeCounts == other.CodeCounts && self.CodeValues == other.CodeValues
401 }
402}
403impl ::core::cmp::Eq for DXGI_JPEG_AC_HUFFMAN_TABLE {}
404impl ::core::default::Default for DXGI_JPEG_AC_HUFFMAN_TABLE {
405 fn default() -> Self {
406 unsafe { ::core::mem::zeroed() }
407 }
408}
409#[repr(C)]
410pub struct DXGI_JPEG_DC_HUFFMAN_TABLE {
411 pub CodeCounts: [u8; 12],
412 pub CodeValues: [u8; 12],
413}
414impl ::core::marker::Copy for DXGI_JPEG_DC_HUFFMAN_TABLE {}
415impl ::core::clone::Clone for DXGI_JPEG_DC_HUFFMAN_TABLE {
416 fn clone(&self) -> Self {
417 *self
418 }
419}
420impl ::core::fmt::Debug for DXGI_JPEG_DC_HUFFMAN_TABLE {
421 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
422 f.debug_struct("DXGI_JPEG_DC_HUFFMAN_TABLE").field("CodeCounts", &self.CodeCounts).field(name:"CodeValues", &self.CodeValues).finish()
423 }
424}
425impl ::windows_core::TypeKind for DXGI_JPEG_DC_HUFFMAN_TABLE {
426 type TypeKind = ::windows_core::CopyType;
427}
428impl ::core::cmp::PartialEq for DXGI_JPEG_DC_HUFFMAN_TABLE {
429 fn eq(&self, other: &Self) -> bool {
430 self.CodeCounts == other.CodeCounts && self.CodeValues == other.CodeValues
431 }
432}
433impl ::core::cmp::Eq for DXGI_JPEG_DC_HUFFMAN_TABLE {}
434impl ::core::default::Default for DXGI_JPEG_DC_HUFFMAN_TABLE {
435 fn default() -> Self {
436 unsafe { ::core::mem::zeroed() }
437 }
438}
439#[repr(C)]
440pub struct DXGI_JPEG_QUANTIZATION_TABLE {
441 pub Elements: [u8; 64],
442}
443impl ::core::marker::Copy for DXGI_JPEG_QUANTIZATION_TABLE {}
444impl ::core::clone::Clone for DXGI_JPEG_QUANTIZATION_TABLE {
445 fn clone(&self) -> Self {
446 *self
447 }
448}
449impl ::core::fmt::Debug for DXGI_JPEG_QUANTIZATION_TABLE {
450 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
451 f.debug_struct("DXGI_JPEG_QUANTIZATION_TABLE").field(name:"Elements", &self.Elements).finish()
452 }
453}
454impl ::windows_core::TypeKind for DXGI_JPEG_QUANTIZATION_TABLE {
455 type TypeKind = ::windows_core::CopyType;
456}
457impl ::core::cmp::PartialEq for DXGI_JPEG_QUANTIZATION_TABLE {
458 fn eq(&self, other: &Self) -> bool {
459 self.Elements == other.Elements
460 }
461}
462impl ::core::cmp::Eq for DXGI_JPEG_QUANTIZATION_TABLE {}
463impl ::core::default::Default for DXGI_JPEG_QUANTIZATION_TABLE {
464 fn default() -> Self {
465 unsafe { ::core::mem::zeroed() }
466 }
467}
468#[repr(C)]
469pub struct DXGI_MODE_DESC {
470 pub Width: u32,
471 pub Height: u32,
472 pub RefreshRate: DXGI_RATIONAL,
473 pub Format: DXGI_FORMAT,
474 pub ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER,
475 pub Scaling: DXGI_MODE_SCALING,
476}
477impl ::core::marker::Copy for DXGI_MODE_DESC {}
478impl ::core::clone::Clone for DXGI_MODE_DESC {
479 fn clone(&self) -> Self {
480 *self
481 }
482}
483impl ::core::fmt::Debug for DXGI_MODE_DESC {
484 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
485 f.debug_struct("DXGI_MODE_DESC").field("Width", &self.Width).field("Height", &self.Height).field("RefreshRate", &self.RefreshRate).field("Format", &self.Format).field("ScanlineOrdering", &self.ScanlineOrdering).field(name:"Scaling", &self.Scaling).finish()
486 }
487}
488impl ::windows_core::TypeKind for DXGI_MODE_DESC {
489 type TypeKind = ::windows_core::CopyType;
490}
491impl ::core::cmp::PartialEq for DXGI_MODE_DESC {
492 fn eq(&self, other: &Self) -> bool {
493 self.Width == other.Width && self.Height == other.Height && self.RefreshRate == other.RefreshRate && self.Format == other.Format && self.ScanlineOrdering == other.ScanlineOrdering && self.Scaling == other.Scaling
494 }
495}
496impl ::core::cmp::Eq for DXGI_MODE_DESC {}
497impl ::core::default::Default for DXGI_MODE_DESC {
498 fn default() -> Self {
499 unsafe { ::core::mem::zeroed() }
500 }
501}
502#[repr(C)]
503pub struct DXGI_RATIONAL {
504 pub Numerator: u32,
505 pub Denominator: u32,
506}
507impl ::core::marker::Copy for DXGI_RATIONAL {}
508impl ::core::clone::Clone for DXGI_RATIONAL {
509 fn clone(&self) -> Self {
510 *self
511 }
512}
513impl ::core::fmt::Debug for DXGI_RATIONAL {
514 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
515 f.debug_struct("DXGI_RATIONAL").field("Numerator", &self.Numerator).field(name:"Denominator", &self.Denominator).finish()
516 }
517}
518impl ::windows_core::TypeKind for DXGI_RATIONAL {
519 type TypeKind = ::windows_core::CopyType;
520}
521impl ::core::cmp::PartialEq for DXGI_RATIONAL {
522 fn eq(&self, other: &Self) -> bool {
523 self.Numerator == other.Numerator && self.Denominator == other.Denominator
524 }
525}
526impl ::core::cmp::Eq for DXGI_RATIONAL {}
527impl ::core::default::Default for DXGI_RATIONAL {
528 fn default() -> Self {
529 unsafe { ::core::mem::zeroed() }
530 }
531}
532#[repr(C)]
533pub struct DXGI_RGB {
534 pub Red: f32,
535 pub Green: f32,
536 pub Blue: f32,
537}
538impl ::core::marker::Copy for DXGI_RGB {}
539impl ::core::clone::Clone for DXGI_RGB {
540 fn clone(&self) -> Self {
541 *self
542 }
543}
544impl ::core::fmt::Debug for DXGI_RGB {
545 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
546 f.debug_struct("DXGI_RGB").field("Red", &self.Red).field("Green", &self.Green).field(name:"Blue", &self.Blue).finish()
547 }
548}
549impl ::windows_core::TypeKind for DXGI_RGB {
550 type TypeKind = ::windows_core::CopyType;
551}
552impl ::core::cmp::PartialEq for DXGI_RGB {
553 fn eq(&self, other: &Self) -> bool {
554 self.Red == other.Red && self.Green == other.Green && self.Blue == other.Blue
555 }
556}
557impl ::core::cmp::Eq for DXGI_RGB {}
558impl ::core::default::Default for DXGI_RGB {
559 fn default() -> Self {
560 unsafe { ::core::mem::zeroed() }
561 }
562}
563#[repr(C)]
564pub struct DXGI_SAMPLE_DESC {
565 pub Count: u32,
566 pub Quality: u32,
567}
568impl ::core::marker::Copy for DXGI_SAMPLE_DESC {}
569impl ::core::clone::Clone for DXGI_SAMPLE_DESC {
570 fn clone(&self) -> Self {
571 *self
572 }
573}
574impl ::core::fmt::Debug for DXGI_SAMPLE_DESC {
575 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
576 f.debug_struct("DXGI_SAMPLE_DESC").field("Count", &self.Count).field(name:"Quality", &self.Quality).finish()
577 }
578}
579impl ::windows_core::TypeKind for DXGI_SAMPLE_DESC {
580 type TypeKind = ::windows_core::CopyType;
581}
582impl ::core::cmp::PartialEq for DXGI_SAMPLE_DESC {
583 fn eq(&self, other: &Self) -> bool {
584 self.Count == other.Count && self.Quality == other.Quality
585 }
586}
587impl ::core::cmp::Eq for DXGI_SAMPLE_DESC {}
588impl ::core::default::Default for DXGI_SAMPLE_DESC {
589 fn default() -> Self {
590 unsafe { ::core::mem::zeroed() }
591 }
592}
593