

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


 /* File created by MIDL compiler version 7.00.0500 */
/* at Sun Jun 07 00:08:46 2009
 */
/* Compiler settings for .\BookBuilder.idl:
    Oicf, 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(  )

#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__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __BookBuilder_i_h__
#define __BookBuilder_i_h__

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

/* Forward Declarations */ 

#ifndef __ICABookBuilderAutomationApp_FWD_DEFINED__
#define __ICABookBuilderAutomationApp_FWD_DEFINED__
typedef interface ICABookBuilderAutomationApp ICABookBuilderAutomationApp;
#endif 	/* __ICABookBuilderAutomationApp_FWD_DEFINED__ */


#ifndef __CABookBuilderAutomationApp_FWD_DEFINED__
#define __CABookBuilderAutomationApp_FWD_DEFINED__

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

#endif 	/* __CABookBuilderAutomationApp_FWD_DEFINED__ */


#ifdef __cplusplus
extern "C"{
#endif 



#ifndef __LibBookBuilder_LIBRARY_DEFINED__
#define __LibBookBuilder_LIBRARY_DEFINED__

/* library LibBookBuilder */
/* [version][uuid] */ 


EXTERN_C const IID LIBID_LibBookBuilder;

#ifndef __ICABookBuilderAutomationApp_INTERFACE_DEFINED__
#define __ICABookBuilderAutomationApp_INTERFACE_DEFINED__

/* interface ICABookBuilderAutomationApp */
/* [object][dual][oleautomation][uuid] */ 


EXTERN_C const IID IID_ICABookBuilderAutomationApp;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("52E542B1-5655-4b89-810B-44AF5A103CF6")
    ICABookBuilderAutomationApp : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddJob( 
            /* [in] */ BSTR bstrBookGUID,
            /* [in] */ BSTR bstrFolderPath,
            /* [in] */ BSTR bstrURL,
            /* [in] */ BSTR bstrLinkText,
            /* [in] */ BSTR bstrProfileName,
            /* [in] */ long nDownloadLevel,
            /* [in] */ VARIANT_BOOL vbLinkTextAsArticleTitle,
            /* [in] */ VARIANT_BOOL bExecuteScript,
            /* [in] */ long nFlags) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartDownload( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopDownload( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICABookBuilderAutomationAppVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICABookBuilderAutomationApp * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICABookBuilderAutomationApp * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICABookBuilderAutomationApp * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ICABookBuilderAutomationApp * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ICABookBuilderAutomationApp * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ICABookBuilderAutomationApp * 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 )( 
            ICABookBuilderAutomationApp * 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 *AddJob )( 
            ICABookBuilderAutomationApp * This,
            /* [in] */ BSTR bstrBookGUID,
            /* [in] */ BSTR bstrFolderPath,
            /* [in] */ BSTR bstrURL,
            /* [in] */ BSTR bstrLinkText,
            /* [in] */ BSTR bstrProfileName,
            /* [in] */ long nDownloadLevel,
            /* [in] */ VARIANT_BOOL vbLinkTextAsArticleTitle,
            /* [in] */ VARIANT_BOOL bExecuteScript,
            /* [in] */ long nFlags);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartDownload )( 
            ICABookBuilderAutomationApp * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopDownload )( 
            ICABookBuilderAutomationApp * This);
        
        END_INTERFACE
    } ICABookBuilderAutomationAppVtbl;

    interface ICABookBuilderAutomationApp
    {
        CONST_VTBL struct ICABookBuilderAutomationAppVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

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


#define ICABookBuilderAutomationApp_AddJob(This,bstrBookGUID,bstrFolderPath,bstrURL,bstrLinkText,bstrProfileName,nDownloadLevel,vbLinkTextAsArticleTitle,bExecuteScript,nFlags)	\
    ( (This)->lpVtbl -> AddJob(This,bstrBookGUID,bstrFolderPath,bstrURL,bstrLinkText,bstrProfileName,nDownloadLevel,vbLinkTextAsArticleTitle,bExecuteScript,nFlags) ) 

#define ICABookBuilderAutomationApp_StartDownload(This)	\
    ( (This)->lpVtbl -> StartDownload(This) ) 

#define ICABookBuilderAutomationApp_StopDownload(This)	\
    ( (This)->lpVtbl -> StopDownload(This) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __ICABookBuilderAutomationApp_INTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_CABookBuilderAutomationApp;

#ifdef __cplusplus

class DECLSPEC_UUID("40CD13FF-2FD3-486c-9E96-3144C1E5A9C5")
CABookBuilderAutomationApp;
#endif
#endif /* __LibBookBuilder_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


