

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 7.00.0500 */
/* at Thu Sep 20 11:32:36 2012
 */
/* Compiler settings for .\TestActiveX2.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext, robust
    error checks: 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 __TestActiveX2idl_h__
#define __TestActiveX2idl_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef ___DTestActiveX2_FWD_DEFINED__
#define ___DTestActiveX2_FWD_DEFINED__
typedef interface _DTestActiveX2 _DTestActiveX2;
#endif 	/* ___DTestActiveX2_FWD_DEFINED__ */


#ifndef ___DTestActiveX2Events_FWD_DEFINED__
#define ___DTestActiveX2Events_FWD_DEFINED__
typedef interface _DTestActiveX2Events _DTestActiveX2Events;
#endif 	/* ___DTestActiveX2Events_FWD_DEFINED__ */


#ifndef __TestActiveX2_FWD_DEFINED__
#define __TestActiveX2_FWD_DEFINED__

#ifdef __cplusplus
typedef class TestActiveX2 TestActiveX2;
#else
typedef struct TestActiveX2 TestActiveX2;
#endif /* __cplusplus */

#endif 	/* __TestActiveX2_FWD_DEFINED__ */


#ifdef __cplusplus
extern "C"{
#endif 



#ifndef __TestActiveX2Lib_LIBRARY_DEFINED__
#define __TestActiveX2Lib_LIBRARY_DEFINED__

/* library TestActiveX2Lib */
/* [control][helpstring][helpfile][version][uuid] */ 


EXTERN_C const IID LIBID_TestActiveX2Lib;

#ifndef ___DTestActiveX2_DISPINTERFACE_DEFINED__
#define ___DTestActiveX2_DISPINTERFACE_DEFINED__

/* dispinterface _DTestActiveX2 */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__DTestActiveX2;

#if defined(__cplusplus) && !defined(CINTERFACE)

    MIDL_INTERFACE("F7BE4178-0149-4788-8DF9-97E7CFB37F70")
    _DTestActiveX2 : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _DTestActiveX2Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _DTestActiveX2 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _DTestActiveX2 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _DTestActiveX2 * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _DTestActiveX2 * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _DTestActiveX2 * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _DTestActiveX2 * 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 )( 
            _DTestActiveX2 * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        END_INTERFACE
    } _DTestActiveX2Vtbl;

    interface _DTestActiveX2
    {
        CONST_VTBL struct _DTestActiveX2Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define _DTestActiveX2_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define _DTestActiveX2_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define _DTestActiveX2_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define _DTestActiveX2_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define _DTestActiveX2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define _DTestActiveX2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define _DTestActiveX2_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 	/* ___DTestActiveX2_DISPINTERFACE_DEFINED__ */


#ifndef ___DTestActiveX2Events_DISPINTERFACE_DEFINED__
#define ___DTestActiveX2Events_DISPINTERFACE_DEFINED__

/* dispinterface _DTestActiveX2Events */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__DTestActiveX2Events;

#if defined(__cplusplus) && !defined(CINTERFACE)

    MIDL_INTERFACE("7F24043D-2045-4B92-B6C6-E8B3C717EF06")
    _DTestActiveX2Events : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _DTestActiveX2EventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _DTestActiveX2Events * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _DTestActiveX2Events * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _DTestActiveX2Events * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _DTestActiveX2Events * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _DTestActiveX2Events * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _DTestActiveX2Events * 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 )( 
            _DTestActiveX2Events * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        END_INTERFACE
    } _DTestActiveX2EventsVtbl;

    interface _DTestActiveX2Events
    {
        CONST_VTBL struct _DTestActiveX2EventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define _DTestActiveX2Events_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define _DTestActiveX2Events_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define _DTestActiveX2Events_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define _DTestActiveX2Events_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define _DTestActiveX2Events_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define _DTestActiveX2Events_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define _DTestActiveX2Events_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 	/* ___DTestActiveX2Events_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_TestActiveX2;

#ifdef __cplusplus

class DECLSPEC_UUID("72C74757-EFCA-4E60-86B1-0C74CA327C16")
TestActiveX2;
#endif
#endif /* __TestActiveX2Lib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


