Debian Codegraph @

mingw-w64-headers/include/dxgitype.h

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