|
|
|
1 |
|
|
2 |
|
|
3 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
4 |
|
|
5 |
|
|
6 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
7 |
|
/* Compiler settings for dxgitype.idl: |
8 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
9 |
|
protocol : dce , ms_ext, c_ext, robust |
10 |
|
error checks: allocation ref bounds_check enum stub_data |
11 |
|
VC __declspec() decoration level: |
12 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
13 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
14 |
|
*/ |
15 |
|
//@@MIDL_FILE_HEADING( ) |
16 |
|
|
17 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
18 |
|
|
19 |
|
|
20 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
21 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
22 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
23 |
|
#endif |
24 |
|
|
25 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
26 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
27 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
28 |
|
#endif |
29 |
|
|
30 |
|
#include "rpc.h" |
31 |
|
#include "rpcndr.h" |
32 |
|
|
33 |
|
#ifndef __RPCNDR_H_VERSION__ |
34 |
|
#error this stub requires an updated version of <rpcndr.h> |
35 |
|
#endif // __RPCNDR_H_VERSION__ |
36 |
|
|
37 |
|
|
38 |
|
#ifndef __dxgitype_h__ |
39 |
|
#define __dxgitype_h__ |
40 |
|
|
41 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
42 |
|
#pragma once |
43 |
|
#endif |
44 |
|
|
45 |
|
/* Forward Declarations */ |
46 |
|
|
47 |
|
/* header files for imported files */ |
48 |
|
#include "oaidl.h" |
49 |
|
#include "ocidl.h" |
50 |
|
|
51 |
|
#ifdef __cplusplus |
52 |
|
extern "C"{ |
53 |
|
#endif |
54 |
|
|
55 |
|
|
56 |
|
/* interface __MIDL_itf_dxgitype_0000_0000 */ |
57 |
|
/* [local] */ |
58 |
|
|
59 |
|
#define _FACDXGI 0x87a |
60 |
|
#define MAKE_DXGI_HRESULT( code ) MAKE_HRESULT( 1, _FACDXGI, code ) |
61 |
|
#define MAKE_DXGI_STATUS( code ) MAKE_HRESULT( 0, _FACDXGI, code ) |
62 |
|
#define DXGI_STATUS_OCCLUDED MAKE_DXGI_STATUS(1 ) |
63 |
|
#define DXGI_STATUS_CLIPPED MAKE_DXGI_STATUS(2 ) |
64 |
|
#define DXGI_STATUS_NO_REDIRECTION MAKE_DXGI_STATUS(4 ) |
65 |
|
#define DXGI_STATUS_NO_DESKTOP_ACCESS MAKE_DXGI_STATUS(5 ) |
66 |
|
#define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_STATUS(6 ) |
67 |
|
#define DXGI_STATUS_MODE_CHANGED MAKE_DXGI_STATUS(7 ) |
68 |
|
#define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS MAKE_DXGI_STATUS(8 ) |
69 |
|
#define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT( 1 ) |
70 |
|
#define DXGI_ERROR_NOT_FOUND MAKE_DXGI_HRESULT( 2 ) |
71 |
|
#define DXGI_ERROR_MORE_DATA MAKE_DXGI_HRESULT( 3 ) |
72 |
|
#define DXGI_ERROR_UNSUPPORTED MAKE_DXGI_HRESULT( 4 ) |
73 |
|
#define DXGI_ERROR_DEVICE_REMOVED MAKE_DXGI_HRESULT( 5 ) |
74 |
|
#define DXGI_ERROR_DEVICE_HUNG MAKE_DXGI_HRESULT( 6 ) |
75 |
|
#define DXGI_ERROR_DEVICE_RESET MAKE_DXGI_HRESULT( 7 ) |
76 |
|
#define DXGI_ERROR_WAS_STILL_DRAWING MAKE_DXGI_HRESULT( 10 ) |
77 |
|
#define DXGI_ERROR_FRAME_STATISTICS_DISJOINT MAKE_DXGI_HRESULT( 11 ) |
78 |
|
#define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_HRESULT( 12 ) |
79 |
|
#define DXGI_ERROR_DRIVER_INTERNAL_ERROR MAKE_DXGI_HRESULT( 32 ) |
80 |
|
#define DXGI_ERROR_NONEXCLUSIVE MAKE_DXGI_HRESULT( 33 ) |
81 |
|
#define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE MAKE_DXGI_HRESULT( 34 ) |
82 |
|
#define DXGI_FORMAT_DEFINED 1 |
83 |
|
typedef |
84 |
|
enum DXGI_FORMAT |
85 |
|
{ DXGI_FORMAT_UNKNOWN = 0, |
86 |
|
DXGI_FORMAT_R32G32B32A32_TYPELESS = 1, |
87 |
|
DXGI_FORMAT_R32G32B32A32_FLOAT = 2, |
88 |
|
DXGI_FORMAT_R32G32B32A32_UINT = 3, |
89 |
|
DXGI_FORMAT_R32G32B32A32_SINT = 4, |
90 |
|
DXGI_FORMAT_R32G32B32_TYPELESS = 5, |
91 |
|
DXGI_FORMAT_R32G32B32_FLOAT = 6, |
92 |
|
DXGI_FORMAT_R32G32B32_UINT = 7, |
93 |
|
DXGI_FORMAT_R32G32B32_SINT = 8, |
94 |
|
DXGI_FORMAT_R16G16B16A16_TYPELESS = 9, |
95 |
|
DXGI_FORMAT_R16G16B16A16_FLOAT = 10, |
96 |
|
DXGI_FORMAT_R16G16B16A16_UNORM = 11, |
97 |
|
DXGI_FORMAT_R16G16B16A16_UINT = 12, |
98 |
|
DXGI_FORMAT_R16G16B16A16_SNORM = 13, |
99 |
|
DXGI_FORMAT_R16G16B16A16_SINT = 14, |
100 |
|
DXGI_FORMAT_R32G32_TYPELESS = 15, |
101 |
|
DXGI_FORMAT_R32G32_FLOAT = 16, |
102 |
|
DXGI_FORMAT_R32G32_UINT = 17, |
103 |
|
DXGI_FORMAT_R32G32_SINT = 18, |
104 |
|
DXGI_FORMAT_R32G8X24_TYPELESS = 19, |
105 |
|
DXGI_FORMAT_D32_FLOAT_S8X24_UINT = 20, |
106 |
|
DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS = 21, |
107 |
|
DXGI_FORMAT_X32_TYPELESS_G8X24_UINT = 22, |
108 |
|
DXGI_FORMAT_R10G10B10A2_TYPELESS = 23, |
109 |
|
DXGI_FORMAT_R10G10B10A2_UNORM = 24, |
110 |
|
DXGI_FORMAT_R10G10B10A2_UINT = 25, |
111 |
|
DXGI_FORMAT_R11G11B10_FLOAT = 26, |
112 |
|
DXGI_FORMAT_R8G8B8A8_TYPELESS = 27, |
113 |
|
DXGI_FORMAT_R8G8B8A8_UNORM = 28, |
114 |
|
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB = 29, |
115 |
|
DXGI_FORMAT_R8G8B8A8_UINT = 30, |
116 |
|
DXGI_FORMAT_R8G8B8A8_SNORM = 31, |
117 |
|
DXGI_FORMAT_R8G8B8A8_SINT = 32, |
118 |
|
DXGI_FORMAT_R16G16_TYPELESS = 33, |
119 |
|
DXGI_FORMAT_R16G16_FLOAT = 34, |
120 |
|
DXGI_FORMAT_R16G16_UNORM = 35, |
121 |
|
DXGI_FORMAT_R16G16_UINT = 36, |
122 |
|
DXGI_FORMAT_R16G16_SNORM = 37, |
123 |
|
DXGI_FORMAT_R16G16_SINT = 38, |
124 |
|
DXGI_FORMAT_R32_TYPELESS = 39, |
125 |
|
DXGI_FORMAT_D32_FLOAT = 40, |
126 |
|
DXGI_FORMAT_R32_FLOAT = 41, |
127 |
|
DXGI_FORMAT_R32_UINT = 42, |
128 |
|
DXGI_FORMAT_R32_SINT = 43, |
129 |
|
DXGI_FORMAT_R24G8_TYPELESS = 44, |
130 |
|
DXGI_FORMAT_D24_UNORM_S8_UINT = 45, |
131 |
|
DXGI_FORMAT_R24_UNORM_X8_TYPELESS = 46, |
132 |
|
DXGI_FORMAT_X24_TYPELESS_G8_UINT = 47, |
133 |
|
DXGI_FORMAT_R8G8_TYPELESS = 48, |
134 |
|
DXGI_FORMAT_R8G8_UNORM = 49, |
135 |
|
DXGI_FORMAT_R8G8_UINT = 50, |
136 |
|
DXGI_FORMAT_R8G8_SNORM = 51, |
137 |
|
DXGI_FORMAT_R8G8_SINT = 52, |
148 |
|
DXGI_FORMAT_R8_SNORM = 63, |
149 |
|
DXGI_FORMAT_R8_SINT = 64, |
150 |
|
DXGI_FORMAT_A8_UNORM = 65, |
151 |
|
DXGI_FORMAT_R1_UNORM = 66, |
152 |
|
DXGI_FORMAT_R9G9B9E5_SHAREDEXP = 67, |
153 |
|
DXGI_FORMAT_R8G8_B8G8_UNORM = 68, |
154 |
|
DXGI_FORMAT_G8R8_G8B8_UNORM = 69, |
155 |
|
DXGI_FORMAT_BC1_TYPELESS = 70, |
156 |
|
DXGI_FORMAT_BC1_UNORM = 71, |
157 |
|
DXGI_FORMAT_BC1_UNORM_SRGB = 72, |
158 |
|
DXGI_FORMAT_BC2_TYPELESS = 73, |
159 |
|
DXGI_FORMAT_BC2_UNORM = 74, |
160 |
|
DXGI_FORMAT_BC2_UNORM_SRGB = 75, |
161 |
|
DXGI_FORMAT_BC3_TYPELESS = 76, |
162 |
|
DXGI_FORMAT_BC3_UNORM = 77, |
163 |
|
DXGI_FORMAT_BC3_UNORM_SRGB = 78, |
164 |
|
DXGI_FORMAT_BC4_TYPELESS = 79, |
165 |
|
DXGI_FORMAT_BC4_UNORM = 80, |
166 |
|
DXGI_FORMAT_BC4_SNORM = 81, |
167 |
|
DXGI_FORMAT_BC5_TYPELESS = 82, |
168 |
|
DXGI_FORMAT_BC5_UNORM = 83, |
169 |
|
DXGI_FORMAT_BC5_SNORM = 84, |
170 |
|
DXGI_FORMAT_B5G6R5_UNORM = 85, |
171 |
|
DXGI_FORMAT_B5G5R5A1_UNORM = 86, |
172 |
|
DXGI_FORMAT_B8G8R8A8_UNORM = 87, |
173 |
|
DXGI_FORMAT_B8G8R8X8_UNORM = 88, |
174 |
|
DXGI_FORMAT_FORCE_UINT = 0xffffffffUL |
175 |
|
} DXGI_FORMAT; |
176 |
|
|
177 |
|
typedef struct DXGI_RGB |
178 |
|
{ |
179 |
|
float Red; |
180 |
|
float Green; |
181 |
|
float Blue; |
182 |
|
} DXGI_RGB; |
183 |
|
|
184 |
|
typedef struct DXGI_GAMMA_CONTROL |
185 |
|
{ |
186 |
|
DXGI_RGB Scale; |
187 |
|
DXGI_RGB Offset; |
188 |
|
DXGI_RGB GammaCurve[ 1025 ]; |
189 |
|
} DXGI_GAMMA_CONTROL; |
190 |
|
|
191 |
|
typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES |
192 |
|
{ |
193 |
|
BOOL ScaleAndOffsetSupported; |
194 |
|
float MaxConvertedValue; |
195 |
|
float MinConvertedValue; |
196 |
|
UINT NumGammaControlPoints; |
197 |
|
float ControlPointPositions[ 1025 ]; |
198 |
|
} DXGI_GAMMA_CONTROL_CAPABILITIES; |
199 |
|
|
200 |
|
typedef struct DXGI_RATIONAL |
201 |
|
{ |
202 |
|
UINT Numerator; |
203 |
|
UINT Denominator; |
204 |
|
} DXGI_RATIONAL; |
205 |
|
|
206 |
|
typedef |
207 |
|
enum DXGI_MODE_SCANLINE_ORDER |
208 |
|
{ DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0, |
209 |
|
DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 1, |
210 |
|
DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 2, |
211 |
|
DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 3 |
212 |
|
} DXGI_MODE_SCANLINE_ORDER; |
213 |
|
|
214 |
|
typedef |
215 |
|
enum DXGI_MODE_SCALING |
216 |
|
{ DXGI_MODE_SCALING_UNSPECIFIED = 0, |
217 |
|
DXGI_MODE_SCALING_CENTERED = 1, |
218 |
|
DXGI_MODE_SCALING_STRETCHED = 2 |
219 |
|
} DXGI_MODE_SCALING; |
220 |
|
|
221 |
|
typedef |
222 |
|
enum DXGI_MODE_ROTATION |
223 |
|
{ DXGI_MODE_ROTATION_UNSPECIFIED = 0, |
224 |
|
DXGI_MODE_ROTATION_IDENTITY = 1, |
225 |
|
DXGI_MODE_ROTATION_ROTATE90 = 2, |
226 |
|
DXGI_MODE_ROTATION_ROTATE180 = 3, |
227 |
|
DXGI_MODE_ROTATION_ROTATE270 = 4 |
228 |
|
} DXGI_MODE_ROTATION; |
229 |
|
|
230 |
|
typedef struct DXGI_MODE_DESC |
231 |
|
{ |
232 |
|
UINT Width; |
233 |
|
UINT Height; |
234 |
|
DXGI_RATIONAL RefreshRate; |
235 |
|
DXGI_FORMAT Format; |
236 |
|
DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; |
237 |
|
DXGI_MODE_SCALING Scaling; |
238 |
|
} DXGI_MODE_DESC; |
239 |
|
|
240 |
|
typedef struct DXGI_SAMPLE_DESC |
241 |
|
{ |
242 |
|
UINT Count; |
243 |
|
UINT Quality; |
244 |
|
} DXGI_SAMPLE_DESC; |
245 |
|
|
246 |
|
|
247 |
|
|
248 |
|
extern RPC_IF_HANDLE __MIDL_itf_dxgitype_0000_0000_v0_0_c_ifspec; |
249 |
|
extern RPC_IF_HANDLE __MIDL_itf_dxgitype_0000_0000_v0_0_s_ifspec; |
250 |
|
|
251 |
|
/* Additional Prototypes for ALL interfaces */ |
252 |
|
|
253 |
|
/* end of Additional Prototypes */ |
254 |
|
|
255 |
|
#ifdef __cplusplus |
256 |
|
} |
257 |
|
#endif |
258 |
|
|
259 |
|
#endif |
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
|
|
|