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

📄 altcomm.h

📁 这个程序主要是在WinCE环境下开发访问SQLCE数据库程序的例子程序
💻 H
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Sat Jul 14 16:35:18 2007
 */
/* Compiler settings for .\ALTCOMM.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

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

#ifndef __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 __ALTCOMM_h__
#define __ALTCOMM_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __IDictionary_FWD_DEFINED__
#define __IDictionary_FWD_DEFINED__
typedef interface IDictionary IDictionary;
#endif 	/* __IDictionary_FWD_DEFINED__ */


#ifndef __Dictionary_FWD_DEFINED__
#define __Dictionary_FWD_DEFINED__

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

#endif 	/* __Dictionary_FWD_DEFINED__ */


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

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

#ifndef __IDictionary_INTERFACE_DEFINED__
#define __IDictionary_INTERFACE_DEFINED__

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


EXTERN_C const IID IID_IDictionary;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("47FF4B66-3C27-4CB1-8DE0-80A127BF6322")
    IDictionary : public IUnknown
    {
    public:
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InitialDict( 
            /* [in] */ BSTR bStrDict) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddWord( 
            /* [in] */ BSTR SrcWord,
            /* [in] */ BSTR DestWord) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ModifyWord( 
            /* [in] */ BSTR SrcWord,
            /* [in] */ BSTR DestWord) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteWord( 
            /* [in] */ BSTR bStrWord) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryWord( 
            /* [in] */ BSTR bStrWord,
            /* [retval][out] */ BSTR __RPC_FAR *bStrDest) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SyncDictLib( void) = 0;
        
        virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Hello( 
            /* [in] */ LONG HelloNo,
            /* [retval][out] */ LONG __RPC_FAR *pHello) = 0;

	};
    
#else 	/* C style interface */

    typedef struct IDictionaryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IDictionary __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IDictionary __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IDictionary __RPC_FAR * This);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitialDict )( 
            IDictionary __RPC_FAR * This,
            /* [in] */ BSTR bStrDict);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddWord )( 
            IDictionary __RPC_FAR * This,
            /* [in] */ BSTR SrcWord,
            /* [in] */ BSTR DestWord);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ModifyWord )( 
            IDictionary __RPC_FAR * This,
            /* [in] */ BSTR SrcWord,
            /* [in] */ BSTR DestWord);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteWord )( 
            IDictionary __RPC_FAR * This,
            /* [in] */ BSTR bStrWord);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryWord )( 
            IDictionary __RPC_FAR * This,
            /* [in] */ BSTR bStrWord,
            /* [retval][out] */ BSTR __RPC_FAR *bStrDest);
        
        /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SyncDictLib )( 
            IDictionary __RPC_FAR * This);
        
        END_INTERFACE
    } IDictionaryVtbl;

    interface IDictionary
    {
        CONST_VTBL struct IDictionaryVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IDictionary_InitialDict(This,bStrDict)	\
    (This)->lpVtbl -> InitialDict(This,bStrDict)

#define IDictionary_AddWord(This,SrcWord,DestWord)	\
    (This)->lpVtbl -> AddWord(This,SrcWord,DestWord)

#define IDictionary_ModifyWord(This,SrcWord,DestWord)	\
    (This)->lpVtbl -> ModifyWord(This,SrcWord,DestWord)

#define IDictionary_DeleteWord(This,bStrWord)	\
    (This)->lpVtbl -> DeleteWord(This,bStrWord)

#define IDictionary_QueryWord(This,bStrWord,bStrDest)	\
    (This)->lpVtbl -> QueryWord(This,bStrWord,bStrDest)

#define IDictionary_SyncDictLib(This)	\
    (This)->lpVtbl -> SyncDictLib(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_InitialDict_Proxy( 
    IDictionary __RPC_FAR * This,
    /* [in] */ BSTR bStrDict);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_AddWord_Proxy( 
    IDictionary __RPC_FAR * This,
    /* [in] */ BSTR SrcWord,
    /* [in] */ BSTR DestWord);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_ModifyWord_Proxy( 
    IDictionary __RPC_FAR * This,
    /* [in] */ BSTR SrcWord,
    /* [in] */ BSTR DestWord);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_DeleteWord_Proxy( 
    IDictionary __RPC_FAR * This,
    /* [in] */ BSTR bStrWord);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_QueryWord_Proxy( 
    IDictionary __RPC_FAR * This,
    /* [in] */ BSTR bStrWord,
    /* [retval][out] */ BSTR __RPC_FAR *bStrDest);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_SyncDictLib_Proxy( 
    IDictionary __RPC_FAR * This);


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


/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDictionary_Hello_Proxy( 
    IDictionary __RPC_FAR * This,
    /* [in] */ LONG HelloNo,
    /* [retval][out] */ LONG __RPC_FAR *pHello);


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



#endif 	/* __IDictionary_INTERFACE_DEFINED__ */



#ifndef __ALTCOMMLib_LIBRARY_DEFINED__
#define __ALTCOMMLib_LIBRARY_DEFINED__

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




EXTERN_C const IID LIBID_ALTCOMMLib;

EXTERN_C const CLSID CLSID_Dictionary;

#ifdef __cplusplus

class DECLSPEC_UUID("DC4BF39F-1D68-4584-9D52-76D886A26B46")
Dictionary;
#endif
#endif /* __ALTCOMMLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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