tcpipplugin.h

来自「lwip tcp/ip 协议栈 adsp BF533 DSP 移植 用 visu」· C头文件 代码 · 共 310 行

H
310
字号


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


 /* File created by MIDL compiler version 6.00.0361 */
/* at Thu Feb 03 11:30:42 2005
 */
/* Compiler settings for .\TCPIPplugin.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 __TCPIPplugin_h__
#define __TCPIPplugin_h__

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

/* Forward Declarations */ 

#ifndef __ITCPIPpluginIfce_FWD_DEFINED__
#define __ITCPIPpluginIfce_FWD_DEFINED__
typedef interface ITCPIPpluginIfce ITCPIPpluginIfce;
#endif 	/* __ITCPIPpluginIfce_FWD_DEFINED__ */


#ifndef __TCPIPpluginIfce_FWD_DEFINED__
#define __TCPIPpluginIfce_FWD_DEFINED__

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

#endif 	/* __TCPIPpluginIfce_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 __ITCPIPpluginIfce_INTERFACE_DEFINED__
#define __ITCPIPpluginIfce_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_ITCPIPpluginIfce;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("0A811BA1-BB59-43C6-B4B9-54478CE92931")
    ITCPIPpluginIfce : public IDispatch
    {
    public:
        virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Caption( 
            /* [in] */ BSTR strCaption) = 0;
        
        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Caption( 
            /* [retval][out] */ BSTR *pstrCaption) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenFile( 
            BSTR FileName) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenFile2( 
            LPDISPATCH FileName) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ITCPIPpluginIfceVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ITCPIPpluginIfce * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ITCPIPpluginIfce * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ITCPIPpluginIfce * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ITCPIPpluginIfce * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ITCPIPpluginIfce * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ITCPIPpluginIfce * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ITCPIPpluginIfce * 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][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
            ITCPIPpluginIfce * This,
            /* [in] */ BSTR strCaption);
        
        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
            ITCPIPpluginIfce * This,
            /* [retval][out] */ BSTR *pstrCaption);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenFile )( 
            ITCPIPpluginIfce * This,
            BSTR FileName);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenFile2 )( 
            ITCPIPpluginIfce * This,
            LPDISPATCH FileName);
        
        END_INTERFACE
    } ITCPIPpluginIfceVtbl;

    interface ITCPIPpluginIfce
    {
        CONST_VTBL struct ITCPIPpluginIfceVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


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

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

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

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


#define ITCPIPpluginIfce_put_Caption(This,strCaption)	\
    (This)->lpVtbl -> put_Caption(This,strCaption)

#define ITCPIPpluginIfce_get_Caption(This,pstrCaption)	\
    (This)->lpVtbl -> get_Caption(This,pstrCaption)

#define ITCPIPpluginIfce_OpenFile(This,FileName)	\
    (This)->lpVtbl -> OpenFile(This,FileName)

#define ITCPIPpluginIfce_OpenFile2(This,FileName)	\
    (This)->lpVtbl -> OpenFile2(This,FileName)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [id][propput] */ HRESULT STDMETHODCALLTYPE ITCPIPpluginIfce_put_Caption_Proxy( 
    ITCPIPpluginIfce * This,
    /* [in] */ BSTR strCaption);


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


/* [id][propget] */ HRESULT STDMETHODCALLTYPE ITCPIPpluginIfce_get_Caption_Proxy( 
    ITCPIPpluginIfce * This,
    /* [retval][out] */ BSTR *pstrCaption);


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


/* [id] */ HRESULT STDMETHODCALLTYPE ITCPIPpluginIfce_OpenFile_Proxy( 
    ITCPIPpluginIfce * This,
    BSTR FileName);


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


/* [id] */ HRESULT STDMETHODCALLTYPE ITCPIPpluginIfce_OpenFile2_Proxy( 
    ITCPIPpluginIfce * This,
    LPDISPATCH FileName);


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



#endif 	/* __ITCPIPpluginIfce_INTERFACE_DEFINED__ */



#ifndef __TCPIPPLUGINLib_LIBRARY_DEFINED__
#define __TCPIPPLUGINLib_LIBRARY_DEFINED__

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


EXTERN_C const IID LIBID_TCPIPPLUGINLib;

EXTERN_C const CLSID CLSID_TCPIPpluginIfce;

#ifdef __cplusplus

class DECLSPEC_UUID("F2BC34EC-FE26-48F6-B9E2-988D0AECC221")
TCPIPpluginIfce;
#endif
#endif /* __TCPIPPLUGINLib_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


⌨️ 快捷键说明

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