summaryrefslogtreecommitdiff
path: root/wia/ProdScan/FileConv.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/ProdScan/FileConv.h
parent687b274aa38fd05c8c26e3068932121876d7f745 (diff)
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'wia/ProdScan/FileConv.h')
-rw-r--r--wia/ProdScan/FileConv.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/wia/ProdScan/FileConv.h b/wia/ProdScan/FileConv.h
new file mode 100644
index 00000000..13e0de97
--- /dev/null
+++ b/wia/ProdScan/FileConv.h
@@ -0,0 +1,37 @@
+/**************************************************************************
+*
+* Copyright � Microsoft Corporation
+*
+* File Title: FileConv.h
+*
+* Project: Production Scanner Driver Sample
+*
+* Description: This file contains definitions for the utility functions
+* used by the sample driver for image file format conversions.
+*
+***************************************************************************/
+
+#pragma once
+
+HRESULT
+InitializeGDIPlus(
+ _Out_ ULONG_PTR *ppToken);
+
+HRESULT
+ShutdownGDIPlus(
+ _In_ ULONG_PTR pToken);
+
+HRESULT
+ConvertImageToDIB(
+ _In_ Image *pInputImage,
+ _Outptr_ IStream **ppOutputStream,
+ _Out_opt_ LONG *plImageWidth = NULL,
+ _Out_opt_ LONG *plImageHeight = NULL,
+ _Out_opt_ LONG *plOutputImageBPL = NULL);
+
+HRESULT
+ConvertDibToRaw(
+ _In_ IStream *pInputStream,
+ _Out_ IStream **ppOutputStream);
+
+