Files
yanshui177 6dcd378738 完善目录结构
完善了目录结构,添加了以前的web段com组件调用的代码(在/测试目录下)(部署没有使用到)
2017-05-17 20:43:16 +08:00

453 lines
12 KiB
C++

/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0603 */
/* at Thu Feb 23 10:08:59 2017
*/
/* Compiler settings for HWCVDLL2.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __HWCVDLL2_i_h__
#define __HWCVDLL2_i_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef ___cHWCV_FWD_DEFINED__
#define ___cHWCV_FWD_DEFINED__
typedef interface _cHWCV _cHWCV;
#endif /* ___cHWCV_FWD_DEFINED__ */
#ifndef __IcHWCV_FWD_DEFINED__
#define __IcHWCV_FWD_DEFINED__
typedef interface IcHWCV IcHWCV;
#endif /* __IcHWCV_FWD_DEFINED__ */
#ifndef __CompReg_FWD_DEFINED__
#define __CompReg_FWD_DEFINED__
#ifdef __cplusplus
typedef class CompReg CompReg;
#else
typedef struct CompReg CompReg;
#endif /* __cplusplus */
#endif /* __CompReg_FWD_DEFINED__ */
#ifndef __cHWCV_FWD_DEFINED__
#define __cHWCV_FWD_DEFINED__
#ifdef __cplusplus
typedef class cHWCV cHWCV;
#else
typedef struct cHWCV cHWCV;
#endif /* __cplusplus */
#endif /* __cHWCV_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef ___cHWCV_INTERFACE_DEFINED__
#define ___cHWCV_INTERFACE_DEFINED__
/* interface _cHWCV */
/* [unique][dual][uuid][object] */
EXTERN_C const IID IID__cHWCV;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("a817e7a2-43fa-11d0-9e44-00aa00b6770a")
_cHWCV : public IDispatch
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Attach(
/* [in] */ BSTR bstrPath) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE RegisterAll( void) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE UnregisterAll( void) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetComponents(
/* [out] */ SAFEARRAY * *pbstrCLSIDs,
/* [out] */ SAFEARRAY * *pbstrDescriptions) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE RegisterComponent(
/* [in] */ BSTR bstrCLSID) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE UnregisterComponent(
/* [in] */ BSTR bstrCLSID) = 0;
};
#else /* C style interface */
typedef struct _cHWCVVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
_cHWCV * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
_cHWCV * This);
ULONG ( STDMETHODCALLTYPE *Release )(
_cHWCV * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
_cHWCV * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
_cHWCV * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
_cHWCV * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [range][in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
_cHWCV * This,
/* [annotation][in] */
_In_ DISPID dispIdMember,
/* [annotation][in] */
_In_ REFIID riid,
/* [annotation][in] */
_In_ LCID lcid,
/* [annotation][in] */
_In_ WORD wFlags,
/* [annotation][out][in] */
_In_ DISPPARAMS *pDispParams,
/* [annotation][out] */
_Out_opt_ VARIANT *pVarResult,
/* [annotation][out] */
_Out_opt_ EXCEPINFO *pExcepInfo,
/* [annotation][out] */
_Out_opt_ UINT *puArgErr);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *Attach )(
_cHWCV * This,
/* [in] */ BSTR bstrPath);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *RegisterAll )(
_cHWCV * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterAll )(
_cHWCV * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *GetComponents )(
_cHWCV * This,
/* [out] */ SAFEARRAY * *pbstrCLSIDs,
/* [out] */ SAFEARRAY * *pbstrDescriptions);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *RegisterComponent )(
_cHWCV * This,
/* [in] */ BSTR bstrCLSID);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterComponent )(
_cHWCV * This,
/* [in] */ BSTR bstrCLSID);
END_INTERFACE
} _cHWCVVtbl;
interface _cHWCV
{
CONST_VTBL struct _cHWCVVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define _cHWCV_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define _cHWCV_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define _cHWCV_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define _cHWCV_GetTypeInfoCount(This,pctinfo) \
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
#define _cHWCV_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
#define _cHWCV_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
#define _cHWCV_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
#define _cHWCV_Attach(This,bstrPath) \
( (This)->lpVtbl -> Attach(This,bstrPath) )
#define _cHWCV_RegisterAll(This) \
( (This)->lpVtbl -> RegisterAll(This) )
#define _cHWCV_UnregisterAll(This) \
( (This)->lpVtbl -> UnregisterAll(This) )
#define _cHWCV_GetComponents(This,pbstrCLSIDs,pbstrDescriptions) \
( (This)->lpVtbl -> GetComponents(This,pbstrCLSIDs,pbstrDescriptions) )
#define _cHWCV_RegisterComponent(This,bstrCLSID) \
( (This)->lpVtbl -> RegisterComponent(This,bstrCLSID) )
#define _cHWCV_UnregisterComponent(This,bstrCLSID) \
( (This)->lpVtbl -> UnregisterComponent(This,bstrCLSID) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___cHWCV_INTERFACE_DEFINED__ */
#ifndef __IcHWCV_INTERFACE_DEFINED__
#define __IcHWCV_INTERFACE_DEFINED__
/* interface IcHWCV */
/* [unique][nonextensible][dual][uuid][object] */
EXTERN_C const IID IID_IcHWCV;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E49365D0-22E5-4606-84FB-21337B4B13E6")
IcHWCV : public IDispatch
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE aspHWCV(
/* [in] */ BSTR filepath,
/* [retval][out] */ BSTR *_arg2) = 0;
};
#else /* C style interface */
typedef struct IcHWCVVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IcHWCV * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IcHWCV * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IcHWCV * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IcHWCV * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IcHWCV * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IcHWCV * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [range][in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IcHWCV * This,
/* [annotation][in] */
_In_ DISPID dispIdMember,
/* [annotation][in] */
_In_ REFIID riid,
/* [annotation][in] */
_In_ LCID lcid,
/* [annotation][in] */
_In_ WORD wFlags,
/* [annotation][out][in] */
_In_ DISPPARAMS *pDispParams,
/* [annotation][out] */
_Out_opt_ VARIANT *pVarResult,
/* [annotation][out] */
_Out_opt_ EXCEPINFO *pExcepInfo,
/* [annotation][out] */
_Out_opt_ UINT *puArgErr);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *aspHWCV )(
IcHWCV * This,
/* [in] */ BSTR filepath,
/* [retval][out] */ BSTR *_arg2);
END_INTERFACE
} IcHWCVVtbl;
interface IcHWCV
{
CONST_VTBL struct IcHWCVVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IcHWCV_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IcHWCV_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IcHWCV_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IcHWCV_GetTypeInfoCount(This,pctinfo) \
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
#define IcHWCV_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
#define IcHWCV_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
#define IcHWCV_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
#define IcHWCV_aspHWCV(This,filepath,_arg2) \
( (This)->lpVtbl -> aspHWCV(This,filepath,_arg2) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IcHWCV_INTERFACE_DEFINED__ */
#ifndef __HWCVDLL2Lib_LIBRARY_DEFINED__
#define __HWCVDLL2Lib_LIBRARY_DEFINED__
/* library HWCVDLL2Lib */
/* [custom][version][uuid] */
EXTERN_C const IID LIBID_HWCVDLL2Lib;
EXTERN_C const CLSID CLSID_CompReg;
#ifdef __cplusplus
class DECLSPEC_UUID("CA35E0FE-B922-44CF-9AE1-49EDE515632F")
CompReg;
#endif
EXTERN_C const CLSID CLSID_cHWCV;
#ifdef __cplusplus
class DECLSPEC_UUID("B4CF6355-DBD1-47CF-A296-2358D551C690")
cHWCV;
#endif
#endif /* __HWCVDLL2Lib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif