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

📄 sipex.h

📁 Windows Mobile平台的日文输入法
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 3.02.88 */
/* at Wed Sep 23 19:08:19 1998
 */
/* Compiler settings for .\sipex.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: none
*/
//@@MIDL_FILE_HEADING(  )
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __sipex_h__
#define __sipex_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __IIMCallbackEx_FWD_DEFINED__
#define __IIMCallbackEx_FWD_DEFINED__
typedef interface IIMCallbackEx IIMCallbackEx;
#endif 	/* __IIMCallbackEx_FWD_DEFINED__ */


#ifndef __IInputMethodEx_FWD_DEFINED__
#define __IInputMethodEx_FWD_DEFINED__
typedef interface IInputMethodEx IInputMethodEx;
#endif 	/* __IInputMethodEx_FWD_DEFINED__ */


/* header files for imported files */
#include "unknwn.h"
#include "sipapi.h"
#include "sip.h"

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

/****************************************
 * Generated header for interface: __MIDL_itf_sipex_0000
 * at Wed Sep 23 19:08:19 1998
 * using MIDL 3.02.88
 ****************************************/
/* [local] */ 


typedef struct  _tagLMDATA
    {
    DWORD dwVersion;
    DWORD flags;
    DWORD cnt;
    DWORD dwOffsetSymbols;
    DWORD dwOffsetSkip;
    DWORD dwOffsetScore;
    /* [max_is] */ BYTE ab[ 1 ];
    }	LMDATA;



extern RPC_IF_HANDLE __MIDL_itf_sipex_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_sipex_0000_v0_0_s_ifspec;

#ifndef __IIMCallbackEx_INTERFACE_DEFINED__
#define __IIMCallbackEx_INTERFACE_DEFINED__

/****************************************
 * Generated header for interface: IIMCallbackEx
 * at Wed Sep 23 19:08:19 1998
 * using MIDL 3.02.88
 ****************************************/
/* [unique][uuid][object] */ 



EXTERN_C const IID IID_IIMCallbackEx;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    interface DECLSPEC_UUID("9DDB3920-3606-11d2-A2EB-0000F8757270")
    IIMCallbackEx : public IIMCallback
    {
    public:
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendAlternatives( 
            LMDATA __RPC_FAR *plmd) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IIMCallbackExVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IIMCallbackEx __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IIMCallbackEx __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IIMCallbackEx __RPC_FAR * This);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetImInfo )( 
            IIMCallbackEx __RPC_FAR * This,
            IMINFO __RPC_FAR *pimi);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendVirtualKey )( 
            IIMCallbackEx __RPC_FAR * This,
            BYTE bVK,
            DWORD dwFlags);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendCharEvents )( 
            IIMCallbackEx __RPC_FAR * This,
            UINT uVK,
            UINT uKeyFlags,
            UINT uChars,
            UINT __RPC_FAR *puShift,
            UINT __RPC_FAR *puChars);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendString )( 
            IIMCallbackEx __RPC_FAR * This,
            BSTR ptszStr,
            DWORD dwChars);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAlternatives )( 
            IIMCallbackEx __RPC_FAR * This,
            LMDATA __RPC_FAR *plmd);
        
        END_INTERFACE
    } IIMCallbackExVtbl;

    interface IIMCallbackEx
    {
        CONST_VTBL struct IIMCallbackExVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IIMCallbackEx_SetImInfo(This,pimi)	\
    (This)->lpVtbl -> SetImInfo(This,pimi)

#define IIMCallbackEx_SendVirtualKey(This,bVK,dwFlags)	\
    (This)->lpVtbl -> SendVirtualKey(This,bVK,dwFlags)

#define IIMCallbackEx_SendCharEvents(This,uVK,uKeyFlags,uChars,puShift,puChars)	\
    (This)->lpVtbl -> SendCharEvents(This,uVK,uKeyFlags,uChars,puShift,puChars)

#define IIMCallbackEx_SendString(This,ptszStr,dwChars)	\
    (This)->lpVtbl -> SendString(This,ptszStr,dwChars)


#define IIMCallbackEx_SendAlternatives(This,plmd)	\
    (This)->lpVtbl -> SendAlternatives(This,plmd)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [id] */ HRESULT STDMETHODCALLTYPE IIMCallbackEx_SendAlternatives_Proxy( 
    IIMCallbackEx __RPC_FAR * This,
    LMDATA __RPC_FAR *plmd);


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



#endif 	/* __IIMCallbackEx_INTERFACE_DEFINED__ */


#ifndef __IInputMethodEx_INTERFACE_DEFINED__
#define __IInputMethodEx_INTERFACE_DEFINED__

/****************************************
 * Generated header for interface: IInputMethodEx
 * at Wed Sep 23 19:08:19 1998
 * using MIDL 3.02.88
 ****************************************/
/* [unique][uuid][object] */ 



EXTERN_C const IID IID_IInputMethodEx;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    interface DECLSPEC_UUID("9DDB3921-3606-11d2-A2EB-0000F8757270")
    IInputMethodEx : public IInputMethod
    {
    public:
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetIMMActiveContext( 
            /* [in] */ HWND hwnd,
            BOOL bOpen,
            DWORD dwConversion,
            DWORD dwSentence,
            DWORD hkl) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE RegisterCallbackEx( 
            /* [in] */ IIMCallbackEx __RPC_FAR *lpIMCallback) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IInputMethodExVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IInputMethodEx __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IInputMethodEx __RPC_FAR * This);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Select )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ HWND hwndSip);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Deselect )( 
            IInputMethodEx __RPC_FAR * This);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Showing )( 
            IInputMethodEx __RPC_FAR * This);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hiding )( 
            IInputMethodEx __RPC_FAR * This);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInfo )( 
            IInputMethodEx __RPC_FAR * This,
            /* [out] */ IMINFO __RPC_FAR *pimi);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReceiveSipInfo )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ SIPINFO __RPC_FAR *psi);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterCallback )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ IIMCallback __RPC_FAR *lpIMCallback);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetImData )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ DWORD dwSize,
            /* [out] */ char __RPC_FAR *pvImData);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetImData )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ DWORD dwSize,
            /* [in] */ char __RPC_FAR *pvImData);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UserOptionsDlg )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ HWND hwndParent);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIMMActiveContext )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ HWND hwnd,
            BOOL bOpen,
            DWORD dwConversion,
            DWORD dwSentence,
            DWORD hkl);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterCallbackEx )( 
            IInputMethodEx __RPC_FAR * This,
            /* [in] */ IIMCallbackEx __RPC_FAR *lpIMCallback);
        
        END_INTERFACE
    } IInputMethodExVtbl;

    interface IInputMethodEx
    {
        CONST_VTBL struct IInputMethodExVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


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

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

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


#define IInputMethodEx_Select(This,hwndSip)	\
    (This)->lpVtbl -> Select(This,hwndSip)

#define IInputMethodEx_Deselect(This)	\
    (This)->lpVtbl -> Deselect(This)

#define IInputMethodEx_Showing(This)	\
    (This)->lpVtbl -> Showing(This)

#define IInputMethodEx_Hiding(This)	\
    (This)->lpVtbl -> Hiding(This)

#define IInputMethodEx_GetInfo(This,pimi)	\
    (This)->lpVtbl -> GetInfo(This,pimi)

#define IInputMethodEx_ReceiveSipInfo(This,psi)	\
    (This)->lpVtbl -> ReceiveSipInfo(This,psi)

#define IInputMethodEx_RegisterCallback(This,lpIMCallback)	\
    (This)->lpVtbl -> RegisterCallback(This,lpIMCallback)

#define IInputMethodEx_GetImData(This,dwSize,pvImData)	\
    (This)->lpVtbl -> GetImData(This,dwSize,pvImData)

#define IInputMethodEx_SetImData(This,dwSize,pvImData)	\
    (This)->lpVtbl -> SetImData(This,dwSize,pvImData)

#define IInputMethodEx_UserOptionsDlg(This,hwndParent)	\
    (This)->lpVtbl -> UserOptionsDlg(This,hwndParent)


#define IInputMethodEx_SetIMMActiveContext(This,hwnd,bOpen,dwConversion,dwSentence,hkl)	\
    (This)->lpVtbl -> SetIMMActiveContext(This,hwnd,bOpen,dwConversion,dwSentence,hkl)

#define IInputMethodEx_RegisterCallbackEx(This,lpIMCallback)	\
    (This)->lpVtbl -> RegisterCallbackEx(This,lpIMCallback)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [id] */ HRESULT STDMETHODCALLTYPE IInputMethodEx_SetIMMActiveContext_Proxy( 
    IInputMethodEx __RPC_FAR * This,
    /* [in] */ HWND hwnd,
    BOOL bOpen,
    DWORD dwConversion,
    DWORD dwSentence,
    DWORD hkl);


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


/* [id] */ HRESULT STDMETHODCALLTYPE IInputMethodEx_RegisterCallbackEx_Proxy( 
    IInputMethodEx __RPC_FAR * This,
    /* [in] */ IIMCallbackEx __RPC_FAR *lpIMCallback);


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



#endif 	/* __IInputMethodEx_INTERFACE_DEFINED__ */


/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  HWND_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HWND __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HWND_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); 
void                      __RPC_USER  HWND_UserFree(     unsigned long __RPC_FAR *, HWND __RPC_FAR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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