summaryrefslogtreecommitdiff
path: root/wia/microdrv/testmcro.h
diff options
context:
space:
mode:
authorkarlf <[email protected]>2016-08-11 13:28:13 -0700
committerkarlf <[email protected]>2016-08-11 13:28:13 -0700
commit96eb96dfb613e4c745db6bd1f53a92fe7e2290fc (patch)
treead5f3ede5cbcd6b598677ce41bcf8318471bdd92 /wia/microdrv/testmcro.h
parent687b274aa38fd05c8c26e3068932121876d7f745 (diff)
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'wia/microdrv/testmcro.h')
-rw-r--r--wia/microdrv/testmcro.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/wia/microdrv/testmcro.h b/wia/microdrv/testmcro.h
new file mode 100644
index 00000000..ac88f1ef
--- /dev/null
+++ b/wia/microdrv/testmcro.h
@@ -0,0 +1,31 @@
+#ifndef TESTMCRO
+#define TESTMCRO
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+#define INITGUID
+#include <windows.h>
+
+//
+// Button GUIDS
+//
+
+DEFINE_GUID( guidScanButton, 0xa6c5a715, 0x8c6e, 0x11d2, 0x97, 0x7a, 0x0, 0x0, 0xf8, 0x7a, 0x92, 0x6f);
+
+// copy any known formats defined in wiadef.h to this location for use in your driver.
+
+DEFINE_GUID(WiaImgFmt_MEMORYBMP, 0xb96b3caa,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e);
+DEFINE_GUID(WiaImgFmt_BMP, 0xb96b3cab,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e);
+DEFINE_GUID(WiaImgFmt_JPEG, 0xb96b3cae,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e);
+DEFINE_GUID(WiaImgFmt_TIFF, 0xb96b3cb1,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e);
+
+// define your custom-defined supported formats here
+// {3B5DE639-B2C6-4952-98A9-1DC06F3703BD}
+DEFINE_GUID(WiaImgFmt_MYNEWFORMAT, 0x3b5de639, 0xb2c6, 0x4952, 0x98, 0xa9, 0x1d, 0xc0, 0x6f, 0x37, 0x3, 0xbd);
+
+#undef INITGUID
+
+#endif
+