diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-13 09:41:29 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-13 09:41:29 +0000 |
commit | 43d65dc03325bcce8561423b9607f7e114355f7d (patch) | |
tree | 7bef4e532a43f4e98ee16b012dca7499ab547e5b /Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/WinExpT.h | |
parent | f1288ff2082a3330b62b60ee80521c37576ff9cc (diff) | |
download | pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.gz pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.bz2 pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.zip |
initial import
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/WinExpT.h')
-rw-r--r-- | Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/WinExpT.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/WinExpT.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/WinExpT.h new file mode 100644 index 0000000..ad9eaf5 --- /dev/null +++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/WinExpT.h @@ -0,0 +1,57 @@ +/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1994-2006 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ WinExpT.h
+
+ - Types required to use the Windows HFT.
+
+*********************************************************************/
+
+#ifndef _H_WIN_EXPT
+#define _H_WIN_EXPT
+
+#include <oaidl.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef ACCBPROTO1 ASAtom(ACCBPROTO2 *COMServerGetNameProcType)(void);
+typedef ACCBPROTO1 ASAtom(ACCBPROTO2 *COMServerGetNameProcTypeEx)(void* clientData);
+//you can use either IDispatch call, depending on if you need to have your COMServer clientData passed back
+typedef ACCBPROTO1 IDispatch*(ACCBPROTO2 *COMServerGetIDispatchProcType)(void);
+typedef ACCBPROTO1 IDispatch*(ACCBPROTO2 *COMServerGetIDispatchProcTypeEx)(void* clientData);
+
+// Try to minimize C4786 compiler warnings
+#if _DEBUG
+#define _t_COMServer _CSvr
+#endif
+
+typedef struct _t_COMServer {
+ ASSize_t size;
+ COMServerGetNameProcType GetName;
+ COMServerGetIDispatchProcType GetIDispatch;
+
+ COMServerGetNameProcTypeEx GetNameEx; //if not null this is called instead of GetName
+ COMServerGetIDispatchProcTypeEx GetIDispatchEx; //if not null this is called instead of GetIDispatch
+ void* clientData; //passed back to the Ex routines
+} COMServerRec, *COMServer;
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _H_WIN_EXPT */
+
|