

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


 /* File created by MIDL compiler version 7.00.0500 */
/* at Sun Jun 07 00:01:24 2009
 */
/* Compiler settings for .\CyberArticleCommonUI.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    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 __CyberArticleCommonUI_i_h__
#define __CyberArticleCommonUI_i_h__

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

/* Forward Declarations */ 

#ifndef __ICACommonUI_FWD_DEFINED__
#define __ICACommonUI_FWD_DEFINED__
typedef interface ICACommonUI ICACommonUI;
#endif 	/* __ICACommonUI_FWD_DEFINED__ */


#ifndef __CACommonUI_FWD_DEFINED__
#define __CACommonUI_FWD_DEFINED__

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

#endif 	/* __CACommonUI_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


#ifndef __ICACommonUI_INTERFACE_DEFINED__
#define __ICACommonUI_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_ICACommonUI;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("51C1F978-7554-41FC-961D-FBA94F6075E0")
    ICACommonUI : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CyberArticleAppPath( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PromptProEditionOnly( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PromptRegisteredUserOnly( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AboutBox( 
            /* [in] */ BSTR bstrSubFileName,
            /* [in] */ long nEdition) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnterSN( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryBookPassword( 
            /* [in] */ BSTR bstrBookTitle,
            /* [retval][out] */ BSTR *pbstrPassword) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryArticlePassword( 
            /* [in] */ BSTR bstrArticleTitle,
            /* [in] */ IUnknown *pUnkReserved,
            /* [retval][out] */ BSTR *pbstrPassword) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryCyberArticlePassword( 
            /* [retval][out] */ BSTR *pbstrPassword) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PromptViewLog( 
            /* [in] */ BSTR bstrInfo) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConfigPasswordStorage( 
            /* [in] */ IUnknown *pPasswordStorageUnk) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewBookProperty( 
            /* [in] */ IDispatch *pBookDisp) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewBookPropertyByGUID( 
            /* [in] */ BSTR bstrGUID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewNodeProperty( 
            /* [in] */ IDispatch *pNodeDisp) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewNodesProperty( 
            /* [in] */ IDispatch *pNodesDisp) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCyberArticleString( 
            /* [in] */ BSTR bstrStringName,
            /* [retval][out] */ BSTR *pbstrResultString) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCyberArticleIcon( 
            /* [in] */ BSTR bstrIconName,
            /* [retval][out] */ OLE_HANDLE *phIcon) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallFirefoxExtension( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICACommonUIVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICACommonUI * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICACommonUI * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICACommonUI * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ICACommonUI * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ICACommonUI * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ICACommonUI * 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 )( 
            ICACommonUI * 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_CyberArticleAppPath )( 
            ICACommonUI * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PromptProEditionOnly )( 
            ICACommonUI * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PromptRegisteredUserOnly )( 
            ICACommonUI * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AboutBox )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrSubFileName,
            /* [in] */ long nEdition);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnterSN )( 
            ICACommonUI * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryBookPassword )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrBookTitle,
            /* [retval][out] */ BSTR *pbstrPassword);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryArticlePassword )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrArticleTitle,
            /* [in] */ IUnknown *pUnkReserved,
            /* [retval][out] */ BSTR *pbstrPassword);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryCyberArticlePassword )( 
            ICACommonUI * This,
            /* [retval][out] */ BSTR *pbstrPassword);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PromptViewLog )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrInfo);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConfigPasswordStorage )( 
            ICACommonUI * This,
            /* [in] */ IUnknown *pPasswordStorageUnk);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ViewBookProperty )( 
            ICACommonUI * This,
            /* [in] */ IDispatch *pBookDisp);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ViewBookPropertyByGUID )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrGUID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ViewNodeProperty )( 
            ICACommonUI * This,
            /* [in] */ IDispatch *pNodeDisp);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ViewNodesProperty )( 
            ICACommonUI * This,
            /* [in] */ IDispatch *pNodesDisp);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCyberArticleString )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrStringName,
            /* [retval][out] */ BSTR *pbstrResultString);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCyberArticleIcon )( 
            ICACommonUI * This,
            /* [in] */ BSTR bstrIconName,
            /* [retval][out] */ OLE_HANDLE *phIcon);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallFirefoxExtension )( 
            ICACommonUI * This);
        
        END_INTERFACE
    } ICACommonUIVtbl;

    interface ICACommonUI
    {
        CONST_VTBL struct ICACommonUIVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

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


#define ICACommonUI_get_CyberArticleAppPath(This,pVal)	\
    ( (This)->lpVtbl -> get_CyberArticleAppPath(This,pVal) ) 

#define ICACommonUI_PromptProEditionOnly(This)	\
    ( (This)->lpVtbl -> PromptProEditionOnly(This) ) 

#define ICACommonUI_PromptRegisteredUserOnly(This)	\
    ( (This)->lpVtbl -> PromptRegisteredUserOnly(This) ) 

#define ICACommonUI_AboutBox(This,bstrSubFileName,nEdition)	\
    ( (This)->lpVtbl -> AboutBox(This,bstrSubFileName,nEdition) ) 

#define ICACommonUI_EnterSN(This)	\
    ( (This)->lpVtbl -> EnterSN(This) ) 

#define ICACommonUI_QueryBookPassword(This,bstrBookTitle,pbstrPassword)	\
    ( (This)->lpVtbl -> QueryBookPassword(This,bstrBookTitle,pbstrPassword) ) 

#define ICACommonUI_QueryArticlePassword(This,bstrArticleTitle,pUnkReserved,pbstrPassword)	\
    ( (This)->lpVtbl -> QueryArticlePassword(This,bstrArticleTitle,pUnkReserved,pbstrPassword) ) 

#define ICACommonUI_QueryCyberArticlePassword(This,pbstrPassword)	\
    ( (This)->lpVtbl -> QueryCyberArticlePassword(This,pbstrPassword) ) 

#define ICACommonUI_PromptViewLog(This,bstrInfo)	\
    ( (This)->lpVtbl -> PromptViewLog(This,bstrInfo) ) 

#define ICACommonUI_ConfigPasswordStorage(This,pPasswordStorageUnk)	\
    ( (This)->lpVtbl -> ConfigPasswordStorage(This,pPasswordStorageUnk) ) 

#define ICACommonUI_ViewBookProperty(This,pBookDisp)	\
    ( (This)->lpVtbl -> ViewBookProperty(This,pBookDisp) ) 

#define ICACommonUI_ViewBookPropertyByGUID(This,bstrGUID)	\
    ( (This)->lpVtbl -> ViewBookPropertyByGUID(This,bstrGUID) ) 

#define ICACommonUI_ViewNodeProperty(This,pNodeDisp)	\
    ( (This)->lpVtbl -> ViewNodeProperty(This,pNodeDisp) ) 

#define ICACommonUI_ViewNodesProperty(This,pNodesDisp)	\
    ( (This)->lpVtbl -> ViewNodesProperty(This,pNodesDisp) ) 

#define ICACommonUI_GetCyberArticleString(This,bstrStringName,pbstrResultString)	\
    ( (This)->lpVtbl -> GetCyberArticleString(This,bstrStringName,pbstrResultString) ) 

#define ICACommonUI_GetCyberArticleIcon(This,bstrIconName,phIcon)	\
    ( (This)->lpVtbl -> GetCyberArticleIcon(This,bstrIconName,phIcon) ) 

#define ICACommonUI_InstallFirefoxExtension(This)	\
    ( (This)->lpVtbl -> InstallFirefoxExtension(This) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __ICACommonUI_INTERFACE_DEFINED__ */



#ifndef __CyberArticleCommonUILib_LIBRARY_DEFINED__
#define __CyberArticleCommonUILib_LIBRARY_DEFINED__

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


EXTERN_C const IID LIBID_CyberArticleCommonUILib;

EXTERN_C const CLSID CLSID_CACommonUI;

#ifdef __cplusplus

class DECLSPEC_UUID("B37D0F8A-D62A-4BFD-BDCA-9F00D4D5C183")
CACommonUI;
#endif
#endif /* __CyberArticleCommonUILib_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


