Click here to Skip to main content
15,888,984 members
Articles / Desktop Programming / ATL

An Example of ATL 7.0 ActiveX Control Simulating A PS (Particle Swarm) Dynamic System

Rate me:
Please Sign up or sign in to vote.
3.86/5 (4 votes)
14 Nov 20047 min read 53K   1.6K   34  
An article on ATL 7.0 and dynamic system simulation.

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


 /* File created by MIDL compiler version 6.00.0361 */
/* at Fri Nov 12 15:37:52 2004
 */
/* Compiler settings for _SmartGravityBubbleCtrl.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 ___SmartGravityBubbleCtrl_h__
#define ___SmartGravityBubbleCtrl_h__

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

/* Forward Declarations */ 

#ifndef __ISmartBubble_FWD_DEFINED__
#define __ISmartBubble_FWD_DEFINED__
typedef interface ISmartBubble ISmartBubble;
#endif 	/* __ISmartBubble_FWD_DEFINED__ */


#ifndef __IAtlEventSink_FWD_DEFINED__
#define __IAtlEventSink_FWD_DEFINED__
typedef interface IAtlEventSink IAtlEventSink;
#endif 	/* __IAtlEventSink_FWD_DEFINED__ */


#ifndef __ISmartGravityBubble_FWD_DEFINED__
#define __ISmartGravityBubble_FWD_DEFINED__
typedef interface ISmartGravityBubble ISmartGravityBubble;
#endif 	/* __ISmartGravityBubble_FWD_DEFINED__ */


#ifndef __CSmartBubble_FWD_DEFINED__
#define __CSmartBubble_FWD_DEFINED__

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

#endif 	/* __CSmartBubble_FWD_DEFINED__ */


#ifndef ___ISmartGravityBubbleEvents_FWD_DEFINED__
#define ___ISmartGravityBubbleEvents_FWD_DEFINED__
typedef interface _ISmartGravityBubbleEvents _ISmartGravityBubbleEvents;
#endif 	/* ___ISmartGravityBubbleEvents_FWD_DEFINED__ */


#ifndef __CSmartGravityBubble_FWD_DEFINED__
#define __CSmartGravityBubble_FWD_DEFINED__

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

#endif 	/* __CSmartGravityBubble_FWD_DEFINED__ */


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

#ifdef __cplusplus
extern "C"{
#endif 

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

/* interface __MIDL_itf__SmartGravityBubbleCtrl_0000 */
/* [local] */ 


enum _EnumSmartBubbleShape
    {	Circle	= 0,
	RoundedRect	= 1,
	TextOnly	= 2
    } ;
typedef enum _EnumSmartBubbleShape EnumSmartBubbleShape;



extern RPC_IF_HANDLE __MIDL_itf__SmartGravityBubbleCtrl_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf__SmartGravityBubbleCtrl_0000_v0_0_s_ifspec;

#ifndef __ISmartBubble_INTERFACE_DEFINED__
#define __ISmartBubble_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_ISmartBubble;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("07E177F0-CB10-4ED1-ABEF-8C977373194B")
    ISmartBubble : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ID( 
            /* [retval][out] */ LONG *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ID( 
            /* [in] */ LONG newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Shape( 
            /* [retval][out] */ EnumSmartBubbleShape *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Shape( 
            /* [in] */ EnumSmartBubbleShape newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Text( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Text( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Weight( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Weight( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ElectronicCharge( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ElectronicCharge( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Fixed( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Fixed( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_xPos( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_xPos( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_yPos( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_yPos( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Color( 
            /* [retval][out] */ OLE_COLOR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Color( 
            /* [in] */ OLE_COLOR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Width( 
            /* [retval][out] */ LONG *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Width( 
            /* [in] */ LONG newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Height( 
            /* [retval][out] */ LONG *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Height( 
            /* [in] */ LONG newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_xSpeed( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_xSpeed( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ySpeed( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ySpeed( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Stopped( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Stopped( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TextColor( 
            /* [retval][out] */ OLE_COLOR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TextColor( 
            /* [in] */ OLE_COLOR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TextHighlightColor( 
            /* [retval][out] */ OLE_COLOR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TextHighlightColor( 
            /* [in] */ OLE_COLOR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Highlighted( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Highlighted( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HighlightColor( 
            /* [retval][out] */ OLE_COLOR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HighlightColor( 
            /* [in] */ OLE_COLOR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Picture( 
            /* [retval][out] */ IPictureDisp **pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Picture( 
            /* [in] */ IPictureDisp *newVal) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ISmartBubbleVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ISmartBubble * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ISmartBubble * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ISmartBubble * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ISmartBubble * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ISmartBubble * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ISmartBubble * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ISmartBubble * 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_ID )( 
            ISmartBubble * This,
            /* [retval][out] */ LONG *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ID )( 
            ISmartBubble * This,
            /* [in] */ LONG newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Shape )( 
            ISmartBubble * This,
            /* [retval][out] */ EnumSmartBubbleShape *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Shape )( 
            ISmartBubble * This,
            /* [in] */ EnumSmartBubbleShape newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Text )( 
            ISmartBubble * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Text )( 
            ISmartBubble * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Weight )( 
            ISmartBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Weight )( 
            ISmartBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ElectronicCharge )( 
            ISmartBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ElectronicCharge )( 
            ISmartBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Fixed )( 
            ISmartBubble * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Fixed )( 
            ISmartBubble * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_xPos )( 
            ISmartBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_xPos )( 
            ISmartBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_yPos )( 
            ISmartBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_yPos )( 
            ISmartBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Color )( 
            ISmartBubble * This,
            /* [retval][out] */ OLE_COLOR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Color )( 
            ISmartBubble * This,
            /* [in] */ OLE_COLOR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( 
            ISmartBubble * This,
            /* [retval][out] */ LONG *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( 
            ISmartBubble * This,
            /* [in] */ LONG newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Height )( 
            ISmartBubble * This,
            /* [retval][out] */ LONG *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Height )( 
            ISmartBubble * This,
            /* [in] */ LONG newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_xSpeed )( 
            ISmartBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_xSpeed )( 
            ISmartBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ySpeed )( 
            ISmartBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ySpeed )( 
            ISmartBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Stopped )( 
            ISmartBubble * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Stopped )( 
            ISmartBubble * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TextColor )( 
            ISmartBubble * This,
            /* [retval][out] */ OLE_COLOR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TextColor )( 
            ISmartBubble * This,
            /* [in] */ OLE_COLOR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TextHighlightColor )( 
            ISmartBubble * This,
            /* [retval][out] */ OLE_COLOR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TextHighlightColor )( 
            ISmartBubble * This,
            /* [in] */ OLE_COLOR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Highlighted )( 
            ISmartBubble * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Highlighted )( 
            ISmartBubble * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HighlightColor )( 
            ISmartBubble * This,
            /* [retval][out] */ OLE_COLOR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HighlightColor )( 
            ISmartBubble * This,
            /* [in] */ OLE_COLOR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Picture )( 
            ISmartBubble * This,
            /* [retval][out] */ IPictureDisp **pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Picture )( 
            ISmartBubble * This,
            /* [in] */ IPictureDisp *newVal);
        
        END_INTERFACE
    } ISmartBubbleVtbl;

    interface ISmartBubble
    {
        CONST_VTBL struct ISmartBubbleVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

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


#define ISmartBubble_get_ID(This,pVal)	\
    (This)->lpVtbl -> get_ID(This,pVal)

#define ISmartBubble_put_ID(This,newVal)	\
    (This)->lpVtbl -> put_ID(This,newVal)

#define ISmartBubble_get_Shape(This,pVal)	\
    (This)->lpVtbl -> get_Shape(This,pVal)

#define ISmartBubble_put_Shape(This,newVal)	\
    (This)->lpVtbl -> put_Shape(This,newVal)

#define ISmartBubble_get_Text(This,pVal)	\
    (This)->lpVtbl -> get_Text(This,pVal)

#define ISmartBubble_put_Text(This,newVal)	\
    (This)->lpVtbl -> put_Text(This,newVal)

#define ISmartBubble_get_Weight(This,pVal)	\
    (This)->lpVtbl -> get_Weight(This,pVal)

#define ISmartBubble_put_Weight(This,newVal)	\
    (This)->lpVtbl -> put_Weight(This,newVal)

#define ISmartBubble_get_ElectronicCharge(This,pVal)	\
    (This)->lpVtbl -> get_ElectronicCharge(This,pVal)

#define ISmartBubble_put_ElectronicCharge(This,newVal)	\
    (This)->lpVtbl -> put_ElectronicCharge(This,newVal)

#define ISmartBubble_get_Fixed(This,pVal)	\
    (This)->lpVtbl -> get_Fixed(This,pVal)

#define ISmartBubble_put_Fixed(This,newVal)	\
    (This)->lpVtbl -> put_Fixed(This,newVal)

#define ISmartBubble_get_xPos(This,pVal)	\
    (This)->lpVtbl -> get_xPos(This,pVal)

#define ISmartBubble_put_xPos(This,newVal)	\
    (This)->lpVtbl -> put_xPos(This,newVal)

#define ISmartBubble_get_yPos(This,pVal)	\
    (This)->lpVtbl -> get_yPos(This,pVal)

#define ISmartBubble_put_yPos(This,newVal)	\
    (This)->lpVtbl -> put_yPos(This,newVal)

#define ISmartBubble_get_Color(This,pVal)	\
    (This)->lpVtbl -> get_Color(This,pVal)

#define ISmartBubble_put_Color(This,newVal)	\
    (This)->lpVtbl -> put_Color(This,newVal)

#define ISmartBubble_get_Width(This,pVal)	\
    (This)->lpVtbl -> get_Width(This,pVal)

#define ISmartBubble_put_Width(This,newVal)	\
    (This)->lpVtbl -> put_Width(This,newVal)

#define ISmartBubble_get_Height(This,pVal)	\
    (This)->lpVtbl -> get_Height(This,pVal)

#define ISmartBubble_put_Height(This,newVal)	\
    (This)->lpVtbl -> put_Height(This,newVal)

#define ISmartBubble_get_xSpeed(This,pVal)	\
    (This)->lpVtbl -> get_xSpeed(This,pVal)

#define ISmartBubble_put_xSpeed(This,newVal)	\
    (This)->lpVtbl -> put_xSpeed(This,newVal)

#define ISmartBubble_get_ySpeed(This,pVal)	\
    (This)->lpVtbl -> get_ySpeed(This,pVal)

#define ISmartBubble_put_ySpeed(This,newVal)	\
    (This)->lpVtbl -> put_ySpeed(This,newVal)

#define ISmartBubble_get_Stopped(This,pVal)	\
    (This)->lpVtbl -> get_Stopped(This,pVal)

#define ISmartBubble_put_Stopped(This,newVal)	\
    (This)->lpVtbl -> put_Stopped(This,newVal)

#define ISmartBubble_get_TextColor(This,pVal)	\
    (This)->lpVtbl -> get_TextColor(This,pVal)

#define ISmartBubble_put_TextColor(This,newVal)	\
    (This)->lpVtbl -> put_TextColor(This,newVal)

#define ISmartBubble_get_TextHighlightColor(This,pVal)	\
    (This)->lpVtbl -> get_TextHighlightColor(This,pVal)

#define ISmartBubble_put_TextHighlightColor(This,newVal)	\
    (This)->lpVtbl -> put_TextHighlightColor(This,newVal)

#define ISmartBubble_get_Highlighted(This,pVal)	\
    (This)->lpVtbl -> get_Highlighted(This,pVal)

#define ISmartBubble_put_Highlighted(This,newVal)	\
    (This)->lpVtbl -> put_Highlighted(This,newVal)

#define ISmartBubble_get_HighlightColor(This,pVal)	\
    (This)->lpVtbl -> get_HighlightColor(This,pVal)

#define ISmartBubble_put_HighlightColor(This,newVal)	\
    (This)->lpVtbl -> put_HighlightColor(This,newVal)

#define ISmartBubble_get_Picture(This,pVal)	\
    (This)->lpVtbl -> get_Picture(This,pVal)

#define ISmartBubble_put_Picture(This,newVal)	\
    (This)->lpVtbl -> put_Picture(This,newVal)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_ID_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ LONG *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_ID_Proxy( 
    ISmartBubble * This,
    /* [in] */ LONG newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Shape_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ EnumSmartBubbleShape *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Shape_Proxy( 
    ISmartBubble * This,
    /* [in] */ EnumSmartBubbleShape newVal);


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


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


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


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


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Weight_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Weight_Proxy( 
    ISmartBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_ElectronicCharge_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_ElectronicCharge_Proxy( 
    ISmartBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Fixed_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Fixed_Proxy( 
    ISmartBubble * This,
    /* [in] */ VARIANT_BOOL newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_xPos_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_xPos_Proxy( 
    ISmartBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_yPos_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_yPos_Proxy( 
    ISmartBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Color_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ OLE_COLOR *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Color_Proxy( 
    ISmartBubble * This,
    /* [in] */ OLE_COLOR newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Width_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ LONG *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Width_Proxy( 
    ISmartBubble * This,
    /* [in] */ LONG newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Height_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ LONG *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Height_Proxy( 
    ISmartBubble * This,
    /* [in] */ LONG newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_xSpeed_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_xSpeed_Proxy( 
    ISmartBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_ySpeed_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_ySpeed_Proxy( 
    ISmartBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Stopped_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Stopped_Proxy( 
    ISmartBubble * This,
    /* [in] */ VARIANT_BOOL newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_TextColor_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ OLE_COLOR *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_TextColor_Proxy( 
    ISmartBubble * This,
    /* [in] */ OLE_COLOR newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_TextHighlightColor_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ OLE_COLOR *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_TextHighlightColor_Proxy( 
    ISmartBubble * This,
    /* [in] */ OLE_COLOR newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Highlighted_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Highlighted_Proxy( 
    ISmartBubble * This,
    /* [in] */ VARIANT_BOOL newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_HighlightColor_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ OLE_COLOR *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_HighlightColor_Proxy( 
    ISmartBubble * This,
    /* [in] */ OLE_COLOR newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartBubble_get_Picture_Proxy( 
    ISmartBubble * This,
    /* [retval][out] */ IPictureDisp **pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartBubble_put_Picture_Proxy( 
    ISmartBubble * This,
    /* [in] */ IPictureDisp *newVal);


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



#endif 	/* __ISmartBubble_INTERFACE_DEFINED__ */


#ifndef __IAtlEventSink_INTERFACE_DEFINED__
#define __IAtlEventSink_INTERFACE_DEFINED__

/* interface IAtlEventSink */
/* [unique][helpstring][uuid][object] */ 


EXTERN_C const IID IID_IAtlEventSink;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("332781CD-76BD-11D3-BAB1-00C04F8EC847")
    IAtlEventSink : public IUnknown
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE Advise( 
            /* [in] */ IUnknown *pSrc) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE Unadvise( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAtlEventSinkVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IAtlEventSink * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IAtlEventSink * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IAtlEventSink * This);
        
        HRESULT ( STDMETHODCALLTYPE *Advise )( 
            IAtlEventSink * This,
            /* [in] */ IUnknown *pSrc);
        
        HRESULT ( STDMETHODCALLTYPE *Unadvise )( 
            IAtlEventSink * This);
        
        END_INTERFACE
    } IAtlEventSinkVtbl;

    interface IAtlEventSink
    {
        CONST_VTBL struct IAtlEventSinkVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IAtlEventSink_Advise(This,pSrc)	\
    (This)->lpVtbl -> Advise(This,pSrc)

#define IAtlEventSink_Unadvise(This)	\
    (This)->lpVtbl -> Unadvise(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



HRESULT STDMETHODCALLTYPE IAtlEventSink_Advise_Proxy( 
    IAtlEventSink * This,
    /* [in] */ IUnknown *pSrc);


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


HRESULT STDMETHODCALLTYPE IAtlEventSink_Unadvise_Proxy( 
    IAtlEventSink * This);


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



#endif 	/* __IAtlEventSink_INTERFACE_DEFINED__ */


#ifndef __ISmartGravityBubble_INTERFACE_DEFINED__
#define __ISmartGravityBubble_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_ISmartGravityBubble;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("A46F8D32-1925-405B-A678-6555D8BEA018")
    ISmartGravityBubble : public IDispatch
    {
    public:
        virtual /* [id][requestedit][bindable][propputref] */ HRESULT STDMETHODCALLTYPE putref_Font( 
            /* [in] */ IFontDisp *pFont) = 0;
        
        virtual /* [id][requestedit][bindable][propput] */ HRESULT STDMETHODCALLTYPE put_Font( 
            /* [in] */ IFontDisp *pFont) = 0;
        
        virtual /* [id][requestedit][bindable][propget] */ HRESULT STDMETHODCALLTYPE get_Font( 
            /* [retval][out] */ IFontDisp **ppFont) = 0;
        
        virtual /* [id][propputref] */ HRESULT STDMETHODCALLTYPE putref_Picture( 
            /* [in] */ IPictureDisp *pPicture) = 0;
        
        virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Picture( 
            /* [in] */ IPictureDisp *pPicture) = 0;
        
        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Picture( 
            /* [retval][out] */ IPictureDisp **ppPicture) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GravityPara( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_GravityPara( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ChargePara( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ChargePara( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Started( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Started( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddBubble( 
            /* [in] */ ISmartBubble *pBubble) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteBubble( 
            /* [in] */ LONG ID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBubble( 
            /* [in] */ LONG ID,
            /* [retval][out] */ ISmartBubble **pBubble) = 0;
        
        virtual /* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE get_TimerInterval( 
            /* [retval][out] */ LONG *pVal) = 0;
        
        virtual /* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE put_TimerInterval( 
            /* [in] */ LONG newVal) = 0;
        
        virtual /* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE get_DumpPara( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE put_DumpPara( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinSpeed( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE put_MinSpeed( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinASpeed( 
            /* [retval][out] */ DOUBLE *pVal) = 0;
        
        virtual /* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE put_MinASpeed( 
            /* [in] */ DOUBLE newVal) = 0;
        
        virtual /* [helpstring][requestedit][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE get_BackColor( 
            /* [retval][out] */ OLE_COLOR *pVal) = 0;
        
        virtual /* [helpstring][requestedit][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE put_BackColor( 
            /* [in] */ OLE_COLOR newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EmptyBubbles( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ISmartGravityBubbleVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ISmartGravityBubble * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ISmartGravityBubble * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ISmartGravityBubble * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ISmartGravityBubble * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ISmartGravityBubble * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ISmartGravityBubble * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ISmartGravityBubble * 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);
        
        /* [id][requestedit][bindable][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Font )( 
            ISmartGravityBubble * This,
            /* [in] */ IFontDisp *pFont);
        
        /* [id][requestedit][bindable][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Font )( 
            ISmartGravityBubble * This,
            /* [in] */ IFontDisp *pFont);
        
        /* [id][requestedit][bindable][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Font )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ IFontDisp **ppFont);
        
        /* [id][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Picture )( 
            ISmartGravityBubble * This,
            /* [in] */ IPictureDisp *pPicture);
        
        /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Picture )( 
            ISmartGravityBubble * This,
            /* [in] */ IPictureDisp *pPicture);
        
        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Picture )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ IPictureDisp **ppPicture);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GravityPara )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_GravityPara )( 
            ISmartGravityBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChargePara )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ChargePara )( 
            ISmartGravityBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Started )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Started )( 
            ISmartGravityBubble * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddBubble )( 
            ISmartGravityBubble * This,
            /* [in] */ ISmartBubble *pBubble);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteBubble )( 
            ISmartGravityBubble * This,
            /* [in] */ LONG ID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBubble )( 
            ISmartGravityBubble * This,
            /* [in] */ LONG ID,
            /* [retval][out] */ ISmartBubble **pBubble);
        
        /* [helpstring][bindable][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimerInterval )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ LONG *pVal);
        
        /* [helpstring][bindable][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TimerInterval )( 
            ISmartGravityBubble * This,
            /* [in] */ LONG newVal);
        
        /* [helpstring][bindable][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DumpPara )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][bindable][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DumpPara )( 
            ISmartGravityBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][bindable][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinSpeed )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][bindable][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MinSpeed )( 
            ISmartGravityBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][bindable][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinASpeed )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ DOUBLE *pVal);
        
        /* [helpstring][bindable][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MinASpeed )( 
            ISmartGravityBubble * This,
            /* [in] */ DOUBLE newVal);
        
        /* [helpstring][requestedit][bindable][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BackColor )( 
            ISmartGravityBubble * This,
            /* [retval][out] */ OLE_COLOR *pVal);
        
        /* [helpstring][requestedit][bindable][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BackColor )( 
            ISmartGravityBubble * This,
            /* [in] */ OLE_COLOR newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EmptyBubbles )( 
            ISmartGravityBubble * This);
        
        END_INTERFACE
    } ISmartGravityBubbleVtbl;

    interface ISmartGravityBubble
    {
        CONST_VTBL struct ISmartGravityBubbleVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

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


#define ISmartGravityBubble_putref_Font(This,pFont)	\
    (This)->lpVtbl -> putref_Font(This,pFont)

#define ISmartGravityBubble_put_Font(This,pFont)	\
    (This)->lpVtbl -> put_Font(This,pFont)

#define ISmartGravityBubble_get_Font(This,ppFont)	\
    (This)->lpVtbl -> get_Font(This,ppFont)

#define ISmartGravityBubble_putref_Picture(This,pPicture)	\
    (This)->lpVtbl -> putref_Picture(This,pPicture)

#define ISmartGravityBubble_put_Picture(This,pPicture)	\
    (This)->lpVtbl -> put_Picture(This,pPicture)

#define ISmartGravityBubble_get_Picture(This,ppPicture)	\
    (This)->lpVtbl -> get_Picture(This,ppPicture)

#define ISmartGravityBubble_get_GravityPara(This,pVal)	\
    (This)->lpVtbl -> get_GravityPara(This,pVal)

#define ISmartGravityBubble_put_GravityPara(This,newVal)	\
    (This)->lpVtbl -> put_GravityPara(This,newVal)

#define ISmartGravityBubble_get_ChargePara(This,pVal)	\
    (This)->lpVtbl -> get_ChargePara(This,pVal)

#define ISmartGravityBubble_put_ChargePara(This,newVal)	\
    (This)->lpVtbl -> put_ChargePara(This,newVal)

#define ISmartGravityBubble_get_Started(This,pVal)	\
    (This)->lpVtbl -> get_Started(This,pVal)

#define ISmartGravityBubble_put_Started(This,newVal)	\
    (This)->lpVtbl -> put_Started(This,newVal)

#define ISmartGravityBubble_AddBubble(This,pBubble)	\
    (This)->lpVtbl -> AddBubble(This,pBubble)

#define ISmartGravityBubble_DeleteBubble(This,ID)	\
    (This)->lpVtbl -> DeleteBubble(This,ID)

#define ISmartGravityBubble_GetBubble(This,ID,pBubble)	\
    (This)->lpVtbl -> GetBubble(This,ID,pBubble)

#define ISmartGravityBubble_get_TimerInterval(This,pVal)	\
    (This)->lpVtbl -> get_TimerInterval(This,pVal)

#define ISmartGravityBubble_put_TimerInterval(This,newVal)	\
    (This)->lpVtbl -> put_TimerInterval(This,newVal)

#define ISmartGravityBubble_get_DumpPara(This,pVal)	\
    (This)->lpVtbl -> get_DumpPara(This,pVal)

#define ISmartGravityBubble_put_DumpPara(This,newVal)	\
    (This)->lpVtbl -> put_DumpPara(This,newVal)

#define ISmartGravityBubble_get_MinSpeed(This,pVal)	\
    (This)->lpVtbl -> get_MinSpeed(This,pVal)

#define ISmartGravityBubble_put_MinSpeed(This,newVal)	\
    (This)->lpVtbl -> put_MinSpeed(This,newVal)

#define ISmartGravityBubble_get_MinASpeed(This,pVal)	\
    (This)->lpVtbl -> get_MinASpeed(This,pVal)

#define ISmartGravityBubble_put_MinASpeed(This,newVal)	\
    (This)->lpVtbl -> put_MinASpeed(This,newVal)

#define ISmartGravityBubble_get_BackColor(This,pVal)	\
    (This)->lpVtbl -> get_BackColor(This,pVal)

#define ISmartGravityBubble_put_BackColor(This,newVal)	\
    (This)->lpVtbl -> put_BackColor(This,newVal)

#define ISmartGravityBubble_EmptyBubbles(This)	\
    (This)->lpVtbl -> EmptyBubbles(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [id][requestedit][bindable][propputref] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_putref_Font_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ IFontDisp *pFont);


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


/* [id][requestedit][bindable][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_Font_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ IFontDisp *pFont);


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


/* [id][requestedit][bindable][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_Font_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ IFontDisp **ppFont);


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


/* [id][propputref] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_putref_Picture_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ IPictureDisp *pPicture);


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


/* [id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_Picture_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ IPictureDisp *pPicture);


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


/* [id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_Picture_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ IPictureDisp **ppPicture);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_GravityPara_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_GravityPara_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_ChargePara_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_ChargePara_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_Started_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


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


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_Started_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ VARIANT_BOOL newVal);


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


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_AddBubble_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ ISmartBubble *pBubble);


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


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_DeleteBubble_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ LONG ID);


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


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_GetBubble_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ LONG ID,
    /* [retval][out] */ ISmartBubble **pBubble);


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


/* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_TimerInterval_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ LONG *pVal);


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


/* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_TimerInterval_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ LONG newVal);


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


/* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_DumpPara_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_DumpPara_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_MinSpeed_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_MinSpeed_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_MinASpeed_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ DOUBLE *pVal);


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


/* [helpstring][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_MinASpeed_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ DOUBLE newVal);


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


/* [helpstring][requestedit][bindable][id][propget] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_get_BackColor_Proxy( 
    ISmartGravityBubble * This,
    /* [retval][out] */ OLE_COLOR *pVal);


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


/* [helpstring][requestedit][bindable][id][propput] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_put_BackColor_Proxy( 
    ISmartGravityBubble * This,
    /* [in] */ OLE_COLOR newVal);


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


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISmartGravityBubble_EmptyBubbles_Proxy( 
    ISmartGravityBubble * This);


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



#endif 	/* __ISmartGravityBubble_INTERFACE_DEFINED__ */



#ifndef __SmartGravityBubbleCtrl_LIBRARY_DEFINED__
#define __SmartGravityBubbleCtrl_LIBRARY_DEFINED__

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


EXTERN_C const IID LIBID_SmartGravityBubbleCtrl;

EXTERN_C const CLSID CLSID_CSmartBubble;

#ifdef __cplusplus

class DECLSPEC_UUID("499DE7D9-DDD7-4396-86BB-F718A1BDA029")
CSmartBubble;
#endif

#ifndef ___ISmartGravityBubbleEvents_DISPINTERFACE_DEFINED__
#define ___ISmartGravityBubbleEvents_DISPINTERFACE_DEFINED__

/* dispinterface _ISmartGravityBubbleEvents */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__ISmartGravityBubbleEvents;

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

    MIDL_INTERFACE("03F610DD-F71C-497B-938E-7DB25A411F2D")
    _ISmartGravityBubbleEvents : public IDispatch
    {
    };
    
#else 	/* C style interface */

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

    interface _ISmartGravityBubbleEvents
    {
        CONST_VTBL struct _ISmartGravityBubbleEventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

#define _ISmartGravityBubbleEvents_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 	/* ___ISmartGravityBubbleEvents_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_CSmartGravityBubble;

#ifdef __cplusplus

class DECLSPEC_UUID("D49DA833-A6DB-4DB1-B30A-BD0FE1CB4750")
CSmartGravityBubble;
#endif
#endif /* __SmartGravityBubbleCtrl_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