⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simple12.h

📁 Thinkinc++English 电子书籍,英文版
💻 H
字号:


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


 /* File created by MIDL compiler version 6.00.0361 */
/* at Wed Aug 31 13:27:41 2005
 */
/* Compiler settings for .\Simple12.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 __Simple12_h__
#define __Simple12_h__

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

/* Forward Declarations */ 

#ifndef __ICallBack_FWD_DEFINED__
#define __ICallBack_FWD_DEFINED__
typedef interface ICallBack ICallBack;
#endif 	/* __ICallBack_FWD_DEFINED__ */


#ifndef __IEvent1_FWD_DEFINED__
#define __IEvent1_FWD_DEFINED__
typedef interface IEvent1 IEvent1;
#endif 	/* __IEvent1_FWD_DEFINED__ */


#ifndef __Event1_FWD_DEFINED__
#define __Event1_FWD_DEFINED__

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

#endif 	/* __Event1_FWD_DEFINED__ */


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

#ifdef __cplusplus
extern "C"{
#endif 

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

#ifndef __ICallBack_INTERFACE_DEFINED__
#define __ICallBack_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_ICallBack;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("DB72DF86-70E9-4ABC-B2F8-5E04062D3B2E")
    ICallBack : public IUnknown
    {
    public:
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Fire_Result( 
            /* [in] */ LONG nResult) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICallBackVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICallBack * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICallBack * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICallBack * This);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Fire_Result )( 
            ICallBack * This,
            /* [in] */ LONG nResult);
        
        END_INTERFACE
    } ICallBackVtbl;

    interface ICallBack
    {
        CONST_VTBL struct ICallBackVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define ICallBack_Fire_Result(This,nResult)	\
    (This)->lpVtbl -> Fire_Result(This,nResult)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring] */ HRESULT STDMETHODCALLTYPE ICallBack_Fire_Result_Proxy( 
    ICallBack * This,
    /* [in] */ LONG nResult);


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



#endif 	/* __ICallBack_INTERFACE_DEFINED__ */


#ifndef __IEvent1_INTERFACE_DEFINED__
#define __IEvent1_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_IEvent1;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("DB72DF85-70E9-4ABC-B2F8-5E04062D3B2E")
    IEvent1 : public IUnknown
    {
    public:
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Add( 
            /* [in] */ LONG n1,
            /* [in] */ LONG n2) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Advise( 
            /* [in] */ ICallBack *pCallBack,
            /* [out] */ LONG *pdwCookie) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Unadvise( 
            /* [in] */ LONG dwCookie) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IEvent1Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IEvent1 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IEvent1 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IEvent1 * This);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Add )( 
            IEvent1 * This,
            /* [in] */ LONG n1,
            /* [in] */ LONG n2);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Advise )( 
            IEvent1 * This,
            /* [in] */ ICallBack *pCallBack,
            /* [out] */ LONG *pdwCookie);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Unadvise )( 
            IEvent1 * This,
            /* [in] */ LONG dwCookie);
        
        END_INTERFACE
    } IEvent1Vtbl;

    interface IEvent1
    {
        CONST_VTBL struct IEvent1Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IEvent1_Add(This,n1,n2)	\
    (This)->lpVtbl -> Add(This,n1,n2)

#define IEvent1_Advise(This,pCallBack,pdwCookie)	\
    (This)->lpVtbl -> Advise(This,pCallBack,pdwCookie)

#define IEvent1_Unadvise(This,dwCookie)	\
    (This)->lpVtbl -> Unadvise(This,dwCookie)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring] */ HRESULT STDMETHODCALLTYPE IEvent1_Add_Proxy( 
    IEvent1 * This,
    /* [in] */ LONG n1,
    /* [in] */ LONG n2);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IEvent1_Advise_Proxy( 
    IEvent1 * This,
    /* [in] */ ICallBack *pCallBack,
    /* [out] */ LONG *pdwCookie);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IEvent1_Unadvise_Proxy( 
    IEvent1 * This,
    /* [in] */ LONG dwCookie);


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



#endif 	/* __IEvent1_INTERFACE_DEFINED__ */



#ifndef __Simple12Lib_LIBRARY_DEFINED__
#define __Simple12Lib_LIBRARY_DEFINED__

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


EXTERN_C const IID LIBID_Simple12Lib;

EXTERN_C const CLSID CLSID_Event1;

#ifdef __cplusplus

class DECLSPEC_UUID("53E00126-B1A0-4510-B9BC-75ED87CE2DB7")
Event1;
#endif
#endif /* __Simple12Lib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -