dxgitype.h 2.2 KB

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