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

453 lines
13 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 13:46:19 2017
*/
/* Compiler settings for HWCV_COM.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 __HWCV_COM_i_h__
#define __HWCV_COM_i_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IComponentRegistrar_FWD_DEFINED__
#define __IComponentRegistrar_FWD_DEFINED__
typedef interface IComponentRegistrar IComponentRegistrar;
#endif /* __IComponentRegistrar_FWD_DEFINED__ */
#ifndef __IFirstClass_FWD_DEFINED__
#define __IFirstClass_FWD_DEFINED__
typedef interface IFirstClass IFirstClass;
#endif /* __IFirstClass_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 __FirstClass_FWD_DEFINED__
#define __FirstClass_FWD_DEFINED__
#ifdef __cplusplus
typedef class FirstClass FirstClass;
#else
typedef struct FirstClass FirstClass;
#endif /* __cplusplus */
#endif /* __FirstClass_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IComponentRegistrar_INTERFACE_DEFINED__
#define __IComponentRegistrar_INTERFACE_DEFINED__
/* interface IComponentRegistrar */
/* [unique][dual][uuid][object] */
EXTERN_C const IID IID_IComponentRegistrar;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("a817e7a2-43fa-11d0-9e44-00aa00b6770a")
IComponentRegistrar : 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 IComponentRegistrarVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IComponentRegistrar * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IComponentRegistrar * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IComponentRegistrar * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IComponentRegistrar * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IComponentRegistrar * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IComponentRegistrar * 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 )(
IComponentRegistrar * 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 )(
IComponentRegistrar * This,
/* [in] */ BSTR bstrPath);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *RegisterAll )(
IComponentRegistrar * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterAll )(
IComponentRegistrar * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *GetComponents )(
IComponentRegistrar * This,
/* [out] */ SAFEARRAY * *pbstrCLSIDs,
/* [out] */ SAFEARRAY * *pbstrDescriptions);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *RegisterComponent )(
IComponentRegistrar * This,
/* [in] */ BSTR bstrCLSID);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterComponent )(
IComponentRegistrar * This,
/* [in] */ BSTR bstrCLSID);
END_INTERFACE
} IComponentRegistrarVtbl;
interface IComponentRegistrar
{
CONST_VTBL struct IComponentRegistrarVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IComponentRegistrar_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IComponentRegistrar_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IComponentRegistrar_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IComponentRegistrar_GetTypeInfoCount(This,pctinfo) \
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
#define IComponentRegistrar_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
#define IComponentRegistrar_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
#define IComponentRegistrar_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
#define IComponentRegistrar_Attach(This,bstrPath) \
( (This)->lpVtbl -> Attach(This,bstrPath) )
#define IComponentRegistrar_RegisterAll(This) \
( (This)->lpVtbl -> RegisterAll(This) )
#define IComponentRegistrar_UnregisterAll(This) \
( (This)->lpVtbl -> UnregisterAll(This) )
#define IComponentRegistrar_GetComponents(This,pbstrCLSIDs,pbstrDescriptions) \
( (This)->lpVtbl -> GetComponents(This,pbstrCLSIDs,pbstrDescriptions) )
#define IComponentRegistrar_RegisterComponent(This,bstrCLSID) \
( (This)->lpVtbl -> RegisterComponent(This,bstrCLSID) )
#define IComponentRegistrar_UnregisterComponent(This,bstrCLSID) \
( (This)->lpVtbl -> UnregisterComponent(This,bstrCLSID) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IComponentRegistrar_INTERFACE_DEFINED__ */
#ifndef __IFirstClass_INTERFACE_DEFINED__
#define __IFirstClass_INTERFACE_DEFINED__
/* interface IFirstClass */
/* [unique][nonextensible][dual][uuid][object] */
EXTERN_C const IID IID_IFirstClass;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7918500F-A60F-4587-B528-846A186B775B")
IFirstClass : public IDispatch
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Check(
/* [in] */ BSTR stuNum,
/* [retval][out] */ BSTR *result) = 0;
};
#else /* C style interface */
typedef struct IFirstClassVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IFirstClass * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IFirstClass * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IFirstClass * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IFirstClass * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IFirstClass * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IFirstClass * 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 )(
IFirstClass * 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 *Check )(
IFirstClass * This,
/* [in] */ BSTR stuNum,
/* [retval][out] */ BSTR *result);
END_INTERFACE
} IFirstClassVtbl;
interface IFirstClass
{
CONST_VTBL struct IFirstClassVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IFirstClass_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IFirstClass_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IFirstClass_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IFirstClass_GetTypeInfoCount(This,pctinfo) \
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
#define IFirstClass_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
#define IFirstClass_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
#define IFirstClass_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
#define IFirstClass_Check(This,stuNum,result) \
( (This)->lpVtbl -> Check(This,stuNum,result) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IFirstClass_INTERFACE_DEFINED__ */
#ifndef __HWCV_COMLib_LIBRARY_DEFINED__
#define __HWCV_COMLib_LIBRARY_DEFINED__
/* library HWCV_COMLib */
/* [custom][version][uuid] */
EXTERN_C const IID LIBID_HWCV_COMLib;
EXTERN_C const CLSID CLSID_CompReg;
#ifdef __cplusplus
class DECLSPEC_UUID("42D03418-BE85-46CA-B3D9-D26C45CAC1D5")
CompReg;
#endif
EXTERN_C const CLSID CLSID_FirstClass;
#ifdef __cplusplus
class DECLSPEC_UUID("32CC3D5B-B2E0-4EE6-ACB5-E1D9BA02A7D2")
FirstClass;
#endif
#endif /* __HWCV_COMLib_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