📄 sip.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.01.75 */
/* at Mon May 19 01:15:14 1997
*/
/* Compiler settings for .\sip.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 __sip_h__
#define __sip_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IIMCallback_FWD_DEFINED__
#define __IIMCallback_FWD_DEFINED__
typedef interface IIMCallback IIMCallback;
#endif /* __IIMCallback_FWD_DEFINED__ */
#ifndef __IInputMethod_FWD_DEFINED__
#define __IInputMethod_FWD_DEFINED__
typedef interface IInputMethod IInputMethod;
#endif /* __IInputMethod_FWD_DEFINED__ */
#ifndef __CMSMultiboxIm_FWD_DEFINED__
#define __CMSMultiboxIm_FWD_DEFINED__
#ifdef __cplusplus
typedef class CMSMultiboxIm CMSMultiboxIm;
#else
typedef struct CMSMultiboxIm CMSMultiboxIm;
#endif /* __cplusplus */
#endif /* __CMSMultiboxIm_FWD_DEFINED__ */
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __QWERTYIM_LIBRARY_DEFINED__
#define __QWERTYIM_LIBRARY_DEFINED__
/****************************************
* Generated header for library: QWERTYIM
* at Mon May 19 01:15:14 1997
* using MIDL 3.01.75
****************************************/
/* [helpstring][version][uuid] */
typedef struct _tagImInfo
{
DWORD cbSize;
HANDLE hImageNarrow;
HANDLE hImageWide;
int iNarrow;
int iWide;
DWORD fdwFlags;
RECT rcSipRect;
} IMINFO;
EXTERN_C const IID LIBID_QWERTYIM;
#ifndef __IIMCallback_INTERFACE_DEFINED__
#define __IIMCallback_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IIMCallback
* at Mon May 19 01:15:14 1997
* using MIDL 3.01.75
****************************************/
/* [object][helpstring][uuid] */
EXTERN_C const IID IID_IIMCallback;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface DECLSPEC_UUID("42429669-ae04-11d0-a4f8-00aa00a749b9")
IIMCallback : public IUnknown
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetImInfo(
IMINFO __RPC_FAR *pimi) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendVirtualKey(
BYTE bVK,
DWORD dwFlags) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendCharEvents(
UINT uVK,
UINT uKeyFlags,
UINT uChars,
UINT __RPC_FAR *puShift,
UINT __RPC_FAR *puChars) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendString(
BSTR ptszStr,
DWORD dwChars) = 0;
};
#else /* C style interface */
typedef struct IIMCallbackVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IIMCallback __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IIMCallback __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IIMCallback __RPC_FAR * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetImInfo )(
IIMCallback __RPC_FAR * This,
IMINFO __RPC_FAR *pimi);
/* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendVirtualKey )(
IIMCallback __RPC_FAR * This,
BYTE bVK,
DWORD dwFlags);
/* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendCharEvents )(
IIMCallback __RPC_FAR * This,
UINT uVK,
UINT uKeyFlags,
UINT uChars,
UINT __RPC_FAR *puShift,
UINT __RPC_FAR *puChars);
/* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendString )(
IIMCallback __RPC_FAR * This,
BSTR ptszStr,
DWORD dwChars);
END_INTERFACE
} IIMCallbackVtbl;
interface IIMCallback
{
CONST_VTBL struct IIMCallbackVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IIMCallback_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IIMCallback_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IIMCallback_Release(This) \
(This)->lpVtbl -> Release(This)
#define IIMCallback_SetImInfo(This,pimi) \
(This)->lpVtbl -> SetImInfo(This,pimi)
#define IIMCallback_SendVirtualKey(This,bVK,dwFlags) \
(This)->lpVtbl -> SendVirtualKey(This,bVK,dwFlags)
#define IIMCallback_SendCharEvents(This,uVK,uKeyFlags,uChars,puShift,puChars) \
(This)->lpVtbl -> SendCharEvents(This,uVK,uKeyFlags,uChars,puShift,puChars)
#define IIMCallback_SendString(This,ptszStr,dwChars) \
(This)->lpVtbl -> SendString(This,ptszStr,dwChars)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [id] */ HRESULT STDMETHODCALLTYPE IIMCallback_SetImInfo_Proxy(
IIMCallback __RPC_FAR * This,
IMINFO __RPC_FAR *pimi);
void __RPC_STUB IIMCallback_SetImInfo_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id] */ HRESULT STDMETHODCALLTYPE IIMCallback_SendVirtualKey_Proxy(
IIMCallback __RPC_FAR * This,
BYTE bVK,
DWORD dwFlags);
void __RPC_STUB IIMCallback_SendVirtualKey_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id] */ HRESULT STDMETHODCALLTYPE IIMCallback_SendCharEvents_Proxy(
IIMCallback __RPC_FAR * This,
UINT uVK,
UINT uKeyFlags,
UINT uChars,
UINT __RPC_FAR *puShift,
UINT __RPC_FAR *puChars);
void __RPC_STUB IIMCallback_SendCharEvents_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id] */ HRESULT STDMETHODCALLTYPE IIMCallback_SendString_Proxy(
IIMCallback __RPC_FAR * This,
BSTR ptszStr,
DWORD dwChars);
void __RPC_STUB IIMCallback_SendString_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IIMCallback_INTERFACE_DEFINED__ */
#ifndef __IInputMethod_INTERFACE_DEFINED__
#define __IInputMethod_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IInputMethod
* at Mon May 19 01:15:14 1997
* using MIDL 3.01.75
****************************************/
/* [object][helpstring][uuid] */
EXTERN_C const IID IID_IInputMethod;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface DECLSPEC_UUID("42429666-ae04-11d0-a4f8-00aa00a749b9")
IInputMethod : public IUnknown
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Select(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -