Click here to Skip to main content
15,883,705 members
Articles / Desktop Programming / ATL

Create a Universal Document Template which supports Dynamic Frame Window Layout

Rate me:
Please Sign up or sign in to vote.
3.00/5 (8 votes)
14 Dec 20024 min read 49.3K   668   24  
Introduce a programming technology to design a very complex, rich document type.
#pragma warning( disable: 4049 )  /* more than 64k source lines */

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


 /* File created by MIDL compiler version 6.00.0347 */
/* at Tue Dec 17 14:51:00 2002
 */
/* Compiler settings for vc70.idl:
    Os, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext
    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(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#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 __vc70_h__
#define __vc70_h__

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

/* Forward Declarations */ 

#ifndef __ICnn_FWD_DEFINED__
#define __ICnn_FWD_DEFINED__
typedef interface ICnn ICnn;
#endif 	/* __ICnn_FWD_DEFINED__ */


#ifndef __IAtlView2_FWD_DEFINED__
#define __IAtlView2_FWD_DEFINED__
typedef interface IAtlView2 IAtlView2;
#endif 	/* __IAtlView2_FWD_DEFINED__ */


#ifndef __IAtlView3_FWD_DEFINED__
#define __IAtlView3_FWD_DEFINED__
typedef interface IAtlView3 IAtlView3;
#endif 	/* __IAtlView3_FWD_DEFINED__ */


#ifndef __IAtlView1_FWD_DEFINED__
#define __IAtlView1_FWD_DEFINED__
typedef interface IAtlView1 IAtlView1;
#endif 	/* __IAtlView1_FWD_DEFINED__ */


#ifndef __Cnn_FWD_DEFINED__
#define __Cnn_FWD_DEFINED__

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

#endif 	/* __Cnn_FWD_DEFINED__ */


#ifndef ___IAtlView2Events_FWD_DEFINED__
#define ___IAtlView2Events_FWD_DEFINED__
typedef interface _IAtlView2Events _IAtlView2Events;
#endif 	/* ___IAtlView2Events_FWD_DEFINED__ */


#ifndef __AtlView2_FWD_DEFINED__
#define __AtlView2_FWD_DEFINED__

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

#endif 	/* __AtlView2_FWD_DEFINED__ */


#ifndef ___IAtlView3Events_FWD_DEFINED__
#define ___IAtlView3Events_FWD_DEFINED__
typedef interface _IAtlView3Events _IAtlView3Events;
#endif 	/* ___IAtlView3Events_FWD_DEFINED__ */


#ifndef __AtlView3_FWD_DEFINED__
#define __AtlView3_FWD_DEFINED__

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

#endif 	/* __AtlView3_FWD_DEFINED__ */


#ifndef ___IAtlView1Events_FWD_DEFINED__
#define ___IAtlView1Events_FWD_DEFINED__
typedef interface _IAtlView1Events _IAtlView1Events;
#endif 	/* ___IAtlView1Events_FWD_DEFINED__ */


#ifndef __CAtlView1_FWD_DEFINED__
#define __CAtlView1_FWD_DEFINED__

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

#endif 	/* __CAtlView1_FWD_DEFINED__ */


/* header files for imported files */
#include "mshtml.h"
#include "mshtmhst.h"
#include "objsafe.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

#ifndef __ICnn_INTERFACE_DEFINED__
#define __ICnn_INTERFACE_DEFINED__

/* interface ICnn */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_ICnn;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("EA4A44D2-1E1C-4DB8-844F-CA68562854BD")
    ICnn : public IDispatch
    {
    public:
        virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect( 
            /* [in] */ long pConnectManager) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICnnVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICnn * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICnn * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICnn * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ICnn * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ICnn * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ICnn * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ICnn * 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);
        
        /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )( 
            ICnn * This,
            /* [in] */ long pConnectManager);
        
        END_INTERFACE
    } ICnnVtbl;

    interface ICnn
    {
        CONST_VTBL struct ICnnVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define ICnn_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define ICnn_Connect(This,pConnectManager)	\
    (This)->lpVtbl -> Connect(This,pConnectManager)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE ICnn_Connect_Proxy( 
    ICnn * This,
    /* [in] */ long pConnectManager);


void __RPC_STUB ICnn_Connect_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __ICnn_INTERFACE_DEFINED__ */


#ifndef __IAtlView2_INTERFACE_DEFINED__
#define __IAtlView2_INTERFACE_DEFINED__

/* interface IAtlView2 */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IAtlView2;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("C409237C-9024-4031-8A4F-12B7DDAA84F1")
    IAtlView2 : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TestEvent2( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAtlView2Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IAtlView2 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IAtlView2 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IAtlView2 * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IAtlView2 * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IAtlView2 * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IAtlView2 * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IAtlView2 * 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);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            IAtlView2 * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
            IAtlView2 * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TestEvent2 )( 
            IAtlView2 * This);
        
        END_INTERFACE
    } IAtlView2Vtbl;

    interface IAtlView2
    {
        CONST_VTBL struct IAtlView2Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define IAtlView2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IAtlView2_get_Name(This,pVal)	\
    (This)->lpVtbl -> get_Name(This,pVal)

#define IAtlView2_put_Name(This,newVal)	\
    (This)->lpVtbl -> put_Name(This,newVal)

#define IAtlView2_TestEvent2(This)	\
    (This)->lpVtbl -> TestEvent2(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAtlView2_get_Name_Proxy( 
    IAtlView2 * This,
    /* [retval][out] */ BSTR *pVal);


void __RPC_STUB IAtlView2_get_Name_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAtlView2_put_Name_Proxy( 
    IAtlView2 * This,
    /* [in] */ BSTR newVal);


void __RPC_STUB IAtlView2_put_Name_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAtlView2_TestEvent2_Proxy( 
    IAtlView2 * This);


void __RPC_STUB IAtlView2_TestEvent2_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IAtlView2_INTERFACE_DEFINED__ */


#ifndef __IAtlView3_INTERFACE_DEFINED__
#define __IAtlView3_INTERFACE_DEFINED__

/* interface IAtlView3 */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IAtlView3;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("307492C2-F51E-4E5F-BBF6-54712EA0C985")
    IAtlView3 : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetText( 
            BSTR str) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAtlView3Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IAtlView3 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IAtlView3 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IAtlView3 * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IAtlView3 * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IAtlView3 * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IAtlView3 * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IAtlView3 * 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);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            IAtlView3 * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
            IAtlView3 * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetText )( 
            IAtlView3 * This,
            BSTR str);
        
        END_INTERFACE
    } IAtlView3Vtbl;

    interface IAtlView3
    {
        CONST_VTBL struct IAtlView3Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define IAtlView3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IAtlView3_get_Name(This,pVal)	\
    (This)->lpVtbl -> get_Name(This,pVal)

#define IAtlView3_put_Name(This,newVal)	\
    (This)->lpVtbl -> put_Name(This,newVal)

#define IAtlView3_GetText(This,str)	\
    (This)->lpVtbl -> GetText(This,str)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAtlView3_get_Name_Proxy( 
    IAtlView3 * This,
    /* [retval][out] */ BSTR *pVal);


void __RPC_STUB IAtlView3_get_Name_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAtlView3_put_Name_Proxy( 
    IAtlView3 * This,
    /* [in] */ BSTR newVal);


void __RPC_STUB IAtlView3_put_Name_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAtlView3_GetText_Proxy( 
    IAtlView3 * This,
    BSTR str);


void __RPC_STUB IAtlView3_GetText_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IAtlView3_INTERFACE_DEFINED__ */


#ifndef __IAtlView1_INTERFACE_DEFINED__
#define __IAtlView1_INTERFACE_DEFINED__

/* interface IAtlView1 */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IAtlView1;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("6D361FD4-E06A-490A-85C7-4B911048DF53")
    IAtlView1 : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Test( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAtlView1Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IAtlView1 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IAtlView1 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IAtlView1 * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IAtlView1 * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IAtlView1 * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IAtlView1 * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IAtlView1 * 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);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Test )( 
            IAtlView1 * This);
        
        END_INTERFACE
    } IAtlView1Vtbl;

    interface IAtlView1
    {
        CONST_VTBL struct IAtlView1Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define IAtlView1_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IAtlView1_Test(This)	\
    (This)->lpVtbl -> Test(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAtlView1_Test_Proxy( 
    IAtlView1 * This);


void __RPC_STUB IAtlView1_Test_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IAtlView1_INTERFACE_DEFINED__ */



#ifndef __MfcViewLibLib_LIBRARY_DEFINED__
#define __MfcViewLibLib_LIBRARY_DEFINED__

/* library MfcViewLibLib */
/* [helpstring][uuid][version] */ 


EXTERN_C const IID LIBID_MfcViewLibLib;

EXTERN_C const CLSID CLSID_Cnn;

#ifdef __cplusplus

class DECLSPEC_UUID("007AC956-C05B-4AC8-B516-3FF1DE5740FE")
Cnn;
#endif

#ifndef ___IAtlView2Events_DISPINTERFACE_DEFINED__
#define ___IAtlView2Events_DISPINTERFACE_DEFINED__

/* dispinterface _IAtlView2Events */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__IAtlView2Events;

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

    MIDL_INTERFACE("4273B169-86C2-468E-B776-1B86260060CB")
    _IAtlView2Events : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _IAtlView2EventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _IAtlView2Events * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _IAtlView2Events * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _IAtlView2Events * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _IAtlView2Events * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _IAtlView2Events * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _IAtlView2Events * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            _IAtlView2Events * 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
    } _IAtlView2EventsVtbl;

    interface _IAtlView2Events
    {
        CONST_VTBL struct _IAtlView2EventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define _IAtlView2Events_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 	/* ___IAtlView2Events_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_AtlView2;

#ifdef __cplusplus

class DECLSPEC_UUID("6B53C960-D094-487F-B615-2ABD5E0134F2")
AtlView2;
#endif

#ifndef ___IAtlView3Events_DISPINTERFACE_DEFINED__
#define ___IAtlView3Events_DISPINTERFACE_DEFINED__

/* dispinterface _IAtlView3Events */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__IAtlView3Events;

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

    MIDL_INTERFACE("A438C3B6-1410-4B6B-8C51-82CAD10B6F27")
    _IAtlView3Events : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _IAtlView3EventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _IAtlView3Events * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _IAtlView3Events * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _IAtlView3Events * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _IAtlView3Events * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _IAtlView3Events * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _IAtlView3Events * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            _IAtlView3Events * 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
    } _IAtlView3EventsVtbl;

    interface _IAtlView3Events
    {
        CONST_VTBL struct _IAtlView3EventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define _IAtlView3Events_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 	/* ___IAtlView3Events_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_AtlView3;

#ifdef __cplusplus

class DECLSPEC_UUID("07B2433B-7686-44F5-B99F-C7823E374E07")
AtlView3;
#endif

#ifndef ___IAtlView1Events_DISPINTERFACE_DEFINED__
#define ___IAtlView1Events_DISPINTERFACE_DEFINED__

/* dispinterface _IAtlView1Events */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__IAtlView1Events;

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

    MIDL_INTERFACE("4CF0C299-6834-4867-B724-A6CC1D2775AB")
    _IAtlView1Events : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _IAtlView1EventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _IAtlView1Events * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _IAtlView1Events * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _IAtlView1Events * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _IAtlView1Events * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _IAtlView1Events * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _IAtlView1Events * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            _IAtlView1Events * 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
    } _IAtlView1EventsVtbl;

    interface _IAtlView1Events
    {
        CONST_VTBL struct _IAtlView1EventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define _IAtlView1Events_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 	/* ___IAtlView1Events_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_CAtlView1;

#ifdef __cplusplus

class DECLSPEC_UUID("466D828E-F1B0-459B-B074-034A348187F3")
CAtlView1;
#endif
#endif /* __MfcViewLibLib_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 * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions