aboutsummaryrefslogtreecommitdiff
path: root/x86_64-w64-mingw32/include/magnification.h
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64-w64-mingw32/include/magnification.h')
-rw-r--r--x86_64-w64-mingw32/include/magnification.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/x86_64-w64-mingw32/include/magnification.h b/x86_64-w64-mingw32/include/magnification.h
new file mode 100644
index 00000000..649948a7
--- /dev/null
+++ b/x86_64-w64-mingw32/include/magnification.h
@@ -0,0 +1,37 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER.PD within this package.
+ */
+
+#ifndef _INC_MAGNIFIER
+#define _INC_MAGNIFIER
+
+#include <winapifamily.h>
+
+#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
+
+#include <wincodec.h>
+
+#define MW_FILTERMODE_EXCLUDE 0
+#define MW_FILTERMODE_INCLUDE 1
+
+typedef struct tagMAGTRANSFORM {
+ float v[3][3];
+} MAGTRANSFORM, *PMAGTRANSFORM;
+
+typedef struct tagMAGIMAGEHEADER {
+ UINT width;
+ UINT height;
+ WICPixelFormatGUID format;
+ UINT stride;
+ UINT offset;
+ SIZE_T cbSize;
+} MAGIMAGEHEADER, *PMAGIMAGEHEADER;
+
+typedef struct tagMAGCOLOREFFECT {
+ float transform[5][5];
+} MAGCOLOREFFECT, *PMAGCOLOREFFECT;
+
+#endif
+#endif