1 /*** Autogenerated by WIDL 3.19 from direct-x/include/dxgitype.idl - Do not edit ***/
2 
3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
5 #endif
6 
7 #include <rpc.h>
8 #include <rpcndr.h>
9 
10 #ifndef COM_NO_WINDOWS_H
11 #include <windows.h>
12 #include <ole2.h>
13 #endif
14 
15 #ifndef __dxgitype_h__
16 #define __dxgitype_h__
17 
18 /* Forward declarations */
19 
20 /* Headers for imported files */
21 
22 #include <dxgicommon.h>
23 #include <dxgiformat.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #if 0
30 typedef unsigned int UINT;
31 typedef LONG WINBOOL;
32 #endif
33 typedef enum DXGI_MODE_ROTATION {
34     DXGI_MODE_ROTATION_UNSPECIFIED = 0x0,
35     DXGI_MODE_ROTATION_IDENTITY = 0x1,
36     DXGI_MODE_ROTATION_ROTATE90 = 0x2,
37     DXGI_MODE_ROTATION_ROTATE180 = 0x3,
38     DXGI_MODE_ROTATION_ROTATE270 = 0x4
39 } DXGI_MODE_ROTATION;
40 typedef enum DXGI_MODE_SCANLINE_ORDER {
41     DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0x0,
42     DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 0x1,
43     DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 0x2,
44     DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 0x3
45 } DXGI_MODE_SCANLINE_ORDER;
46 typedef enum DXGI_MODE_SCALING {
47     DXGI_MODE_SCALING_UNSPECIFIED = 0x0,
48     DXGI_MODE_SCALING_CENTERED = 0x1,
49     DXGI_MODE_SCALING_STRETCHED = 0x2
50 } DXGI_MODE_SCALING;
51 #ifndef D3DCOLORVALUE_DEFINED
52 #define D3DCOLORVALUE_DEFINED
53 typedef struct _D3DCOLORVALUE {
54     float r;
55     float g;
56     float b;
57     float a;
58 } D3DCOLORVALUE;
59 #endif
60 typedef D3DCOLORVALUE DXGI_RGBA;
61 typedef struct DXGI_MODE_DESC {
62     UINT Width;
63     UINT Height;
64     DXGI_RATIONAL RefreshRate;
65     DXGI_FORMAT Format;
66     DXGI_MODE_SCANLINE_ORDER ScanlineOrdering;
67     DXGI_MODE_SCALING Scaling;
68 } DXGI_MODE_DESC;
69 typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES {
70     WINBOOL ScaleAndOffsetSupported;
71     float MaxConvertedValue;
72     float MinConvertedValue;
73     UINT NumGammaControlPoints;
74     float ControlPointPositions[1025];
75 } DXGI_GAMMA_CONTROL_CAPABILITIES;
76 typedef struct DXGI_RGB {
77     float Red;
78     float Green;
79     float Blue;
80 } DXGI_RGB;
81 typedef struct DXGI_GAMMA_CONTROL {
82     DXGI_RGB Scale;
83     DXGI_RGB Offset;
84     DXGI_RGB GammaCurve[1025];
85 } DXGI_GAMMA_CONTROL;
86 /* Begin additional prototypes for all interfaces */
87 
88 
89 /* End additional prototypes */
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif /* __dxgitype_h__ */
96