426 lines
11 KiB
C++
426 lines
11 KiB
C++
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 3.01.75 */
|
|
/* at Wed Dec 01 20:46:11 1999
|
|
*/
|
|
/* Compiler settings for dimg.idl:
|
|
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
|
|
error checks: none
|
|
*/
|
|
//@@MIDL_FILE_HEADING( )
|
|
#include "rpc.h"
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef __dimg_h__
|
|
#define __dimg_h__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef ___DImgScan_FWD_DEFINED__
|
|
#define ___DImgScan_FWD_DEFINED__
|
|
typedef interface _DImgScan _DImgScan;
|
|
#endif /* ___DImgScan_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef ___DImgScanEvents_FWD_DEFINED__
|
|
#define ___DImgScanEvents_FWD_DEFINED__
|
|
typedef interface _DImgScanEvents _DImgScanEvents;
|
|
#endif /* ___DImgScanEvents_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __ImgScan_FWD_DEFINED__
|
|
#define __ImgScan_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class ImgScan ImgScan;
|
|
#else
|
|
typedef struct ImgScan ImgScan;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __ImgScan_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "oaidl.h"
|
|
#include "ocidl.h"
|
|
|
|
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
|
|
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
|
|
|
|
/****************************************
|
|
* Generated header for interface: __MIDL_itf_dimg_0000
|
|
* at Wed Dec 01 20:46:11 1999
|
|
* using MIDL 3.01.75
|
|
****************************************/
|
|
/* [local] */
|
|
|
|
|
|
typedef float single;
|
|
|
|
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_dimg_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_dimg_0000_v0_0_s_ifspec;
|
|
|
|
|
|
#ifndef __ScanLibCtl_LIBRARY_DEFINED__
|
|
#define __ScanLibCtl_LIBRARY_DEFINED__
|
|
|
|
/****************************************
|
|
* Generated header for library: ScanLibCtl
|
|
* at Wed Dec 01 20:46:11 1999
|
|
* using MIDL 3.01.75
|
|
****************************************/
|
|
/* [helpcontext][helpfile][helpstring][version][uuid] */
|
|
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0001
|
|
{ TIFF = 1,
|
|
AWD_MicrosoftFax = 2,
|
|
BMP_Bitmap = 3
|
|
} FileTypeConstants;
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0002
|
|
{ NoCompression = 1,
|
|
CCITTGroup3_1d_Fax = 2,
|
|
CCITTGroup3_1d_ModifiedHuffman = 3,
|
|
PackedBits = 4,
|
|
CCITTGroup4_2d_Fax = 5,
|
|
JPEG = 6,
|
|
LZW = 7
|
|
} CompressionTypeConstants;
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0003
|
|
{ CreateNewFile = 0,
|
|
PromptToCreateNewFile = 1,
|
|
AppendPages = 2,
|
|
InsertPages = 3,
|
|
OverwritePages = 4,
|
|
PromptToOverwritePages = 5,
|
|
OverwriteAllPages = 6
|
|
} PageOptionConstants;
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0004
|
|
{ BlackAndWhite = 1,
|
|
Gray16Shades = 2,
|
|
Gray256Shades = 3,
|
|
Color16Count = 4,
|
|
Color256Count = 5,
|
|
TrueColor24bit = 6,
|
|
HighColor24bit = 7
|
|
} PageTypeConstants;
|
|
|
|
typedef /* [public][public][public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0005
|
|
{ BlackAndWhite1Bit = 1,
|
|
Gray4Bit = 2,
|
|
Gray8Bit = 3,
|
|
ColorPal8Bit = 4,
|
|
TrueColor24bitRGB = 5,
|
|
ColorPal4Bit = 6
|
|
} ImageTypeConstants;
|
|
|
|
typedef /* [public][public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0006
|
|
{ BestDisplay = 0,
|
|
GoodDisplay = 1,
|
|
SmallestFile = 2,
|
|
CustomSettings = 3
|
|
} CompPreferenceConstants;
|
|
|
|
typedef /* [public][public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0007
|
|
{ Uncompressed = 0,
|
|
CCITTGroup31D = 1,
|
|
CCITTGroup42D = 2,
|
|
TIFFPackbits = 4,
|
|
JPEGCompression = 8,
|
|
LZWCompression = 21
|
|
} CompTypeConstants;
|
|
|
|
typedef /* [public][public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0008
|
|
{ NoCompInfo = 0,
|
|
G31DModifiedHuffman = 0,
|
|
G31DModifiedHuffmanRBO = 4096,
|
|
G31DFax = 2304,
|
|
G31DFaxRBO = 6400,
|
|
G42DFax = 512,
|
|
G42DFaxRBO = 4608,
|
|
TIFFPackbitsInfo = 0,
|
|
LZWInfo = 0,
|
|
JPEGLowLow = 11610,
|
|
JPEGLowMed = 7740,
|
|
JPEGLowHigh = 3870,
|
|
JPEGMedLow = 27994,
|
|
JPEGMedMed = 24124,
|
|
JPEGMedHigh = 20254,
|
|
JPEGHighLow = -21158,
|
|
JPEGHighMed = -25028,
|
|
JPEGHighHigh = -28898
|
|
} CompInfoConstants;
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_dimg_0000_0009
|
|
{ DisplayOnly = 0,
|
|
DisplayAndFile = 1,
|
|
FileOnly = 2,
|
|
DisplayAndUseFileTemplate = 3,
|
|
UseFileTemplateOnly = 4,
|
|
FaxOnly = 5
|
|
} ScanToConstants;
|
|
|
|
|
|
EXTERN_C const IID LIBID_ScanLibCtl;
|
|
|
|
#ifndef ___DImgScan_DISPINTERFACE_DEFINED__
|
|
#define ___DImgScan_DISPINTERFACE_DEFINED__
|
|
|
|
/****************************************
|
|
* Generated header for dispinterface: _DImgScan
|
|
* at Wed Dec 01 20:46:11 1999
|
|
* using MIDL 3.01.75
|
|
****************************************/
|
|
/* [helpstring][uuid] */
|
|
|
|
|
|
|
|
EXTERN_C const IID DIID__DImgScan;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
interface DECLSPEC_UUID("84926CA1-2941-101C-816F-0E6013114B7F")
|
|
_DImgScan : public IDispatch
|
|
{
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct _DImgScanVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
_DImgScan __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
_DImgScan __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
_DImgScan __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
|
|
_DImgScan __RPC_FAR * This,
|
|
/* [out] */ UINT __RPC_FAR *pctinfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
|
|
_DImgScan __RPC_FAR * This,
|
|
/* [in] */ UINT iTInfo,
|
|
/* [in] */ LCID lcid,
|
|
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
|
|
_DImgScan __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
|
|
/* [in] */ UINT cNames,
|
|
/* [in] */ LCID lcid,
|
|
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
|
|
_DImgScan __RPC_FAR * This,
|
|
/* [in] */ DISPID dispIdMember,
|
|
/* [in] */ REFIID riid,
|
|
/* [in] */ LCID lcid,
|
|
/* [in] */ WORD wFlags,
|
|
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
|
|
/* [out] */ VARIANT __RPC_FAR *pVarResult,
|
|
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
|
|
/* [out] */ UINT __RPC_FAR *puArgErr);
|
|
|
|
END_INTERFACE
|
|
} _DImgScanVtbl;
|
|
|
|
interface _DImgScan
|
|
{
|
|
CONST_VTBL struct _DImgScanVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define _DImgScan_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define _DImgScan_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define _DImgScan_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define _DImgScan_GetTypeInfoCount(This,pctinfo) \
|
|
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
|
|
|
|
#define _DImgScan_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
|
|
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
|
|
|
#define _DImgScan_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
|
|
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
|
|
|
#define _DImgScan_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
|
|
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
#endif /* ___DImgScan_DISPINTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef ___DImgScanEvents_DISPINTERFACE_DEFINED__
|
|
#define ___DImgScanEvents_DISPINTERFACE_DEFINED__
|
|
|
|
/****************************************
|
|
* Generated header for dispinterface: _DImgScanEvents
|
|
* at Wed Dec 01 20:46:11 1999
|
|
* using MIDL 3.01.75
|
|
****************************************/
|
|
/* [helpstring][uuid] */
|
|
|
|
|
|
|
|
EXTERN_C const IID DIID__DImgScanEvents;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
interface DECLSPEC_UUID("84926CA2-2941-101C-816F-0E6013114B7F")
|
|
_DImgScanEvents : public IDispatch
|
|
{
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct _DImgScanEventsVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
_DImgScanEvents __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
_DImgScanEvents __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
_DImgScanEvents __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
|
|
_DImgScanEvents __RPC_FAR * This,
|
|
/* [out] */ UINT __RPC_FAR *pctinfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
|
|
_DImgScanEvents __RPC_FAR * This,
|
|
/* [in] */ UINT iTInfo,
|
|
/* [in] */ LCID lcid,
|
|
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
|
|
_DImgScanEvents __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
|
|
/* [in] */ UINT cNames,
|
|
/* [in] */ LCID lcid,
|
|
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
|
|
_DImgScanEvents __RPC_FAR * This,
|
|
/* [in] */ DISPID dispIdMember,
|
|
/* [in] */ REFIID riid,
|
|
/* [in] */ LCID lcid,
|
|
/* [in] */ WORD wFlags,
|
|
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
|
|
/* [out] */ VARIANT __RPC_FAR *pVarResult,
|
|
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
|
|
/* [out] */ UINT __RPC_FAR *puArgErr);
|
|
|
|
END_INTERFACE
|
|
} _DImgScanEventsVtbl;
|
|
|
|
interface _DImgScanEvents
|
|
{
|
|
CONST_VTBL struct _DImgScanEventsVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define _DImgScanEvents_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define _DImgScanEvents_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define _DImgScanEvents_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define _DImgScanEvents_GetTypeInfoCount(This,pctinfo) \
|
|
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
|
|
|
|
#define _DImgScanEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
|
|
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
|
|
|
#define _DImgScanEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
|
|
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
|
|
|
#define _DImgScanEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
|
|
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
#endif /* ___DImgScanEvents_DISPINTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifdef __cplusplus
|
|
EXTERN_C const CLSID CLSID_ImgScan;
|
|
|
|
class DECLSPEC_UUID("84926CA0-2941-101C-816F-0E6013114B7F")
|
|
ImgScan;
|
|
#endif
|
|
#endif /* __ScanLibCtl_LIBRARY_DEFINED__ */
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|