include: Add ITfLangBarMgr Interface.
This commit is contained in:
parent
e4fd5196c2
commit
a0499b0ad5
|
@ -136,6 +136,7 @@ include/comcat.h
|
||||||
include/commoncontrols.h
|
include/commoncontrols.h
|
||||||
include/config.h
|
include/config.h
|
||||||
include/control.h
|
include/control.h
|
||||||
|
include/ctfutb.h
|
||||||
include/ctxtcall.h
|
include/ctxtcall.h
|
||||||
include/d3d10.h
|
include/d3d10.h
|
||||||
include/ddstream.h
|
include/ddstream.h
|
||||||
|
|
|
@ -22,6 +22,7 @@ PUBLIC_IDL_H_SRCS = \
|
||||||
comcat.idl \
|
comcat.idl \
|
||||||
commoncontrols.idl \
|
commoncontrols.idl \
|
||||||
control.idl \
|
control.idl \
|
||||||
|
ctfutb.idl \
|
||||||
ctxtcall.idl \
|
ctxtcall.idl \
|
||||||
d3d10.idl \
|
d3d10.idl \
|
||||||
ddstream.idl \
|
ddstream.idl \
|
||||||
|
|
|
@ -0,0 +1,73 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2010 Justin Chevrier
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
|
import "oaidl.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
interface ITfLangBarEventSink;
|
||||||
|
interface ITfLangBarItemMgr;
|
||||||
|
interface ITfInputProcessorProfiles;
|
||||||
|
|
||||||
|
[
|
||||||
|
object,
|
||||||
|
uuid(87955690-e627-11d2-8ddb-00105a2799b5),
|
||||||
|
pointer_default(unique)
|
||||||
|
]
|
||||||
|
interface ITfLangBarMgr: IUnknown
|
||||||
|
{
|
||||||
|
HRESULT AdviseEventSink(
|
||||||
|
[in] ITfLangBarEventSink *pSink,
|
||||||
|
[in] HWND hwnd,
|
||||||
|
[in] DWORD dwflags,
|
||||||
|
[in] DWORD *pdwCookie);
|
||||||
|
|
||||||
|
HRESULT UnAdviseEventSink(
|
||||||
|
[in] DWORD dwCookie);
|
||||||
|
|
||||||
|
HRESULT GetThreadMarshalInterface(
|
||||||
|
[in] DWORD dwThreadId,
|
||||||
|
[in] DWORD dwType,
|
||||||
|
[in] REFIID riid,
|
||||||
|
[out] IUnknown **ppunk);
|
||||||
|
|
||||||
|
HRESULT GetThreadLangBarItemMgr(
|
||||||
|
[in] DWORD dwThreadId,
|
||||||
|
[out] ITfLangBarItemMgr **pplbie,
|
||||||
|
[out] DWORD *pdwThreadid);
|
||||||
|
|
||||||
|
HRESULT GetInputProcessorProfiles(
|
||||||
|
[in] DWORD dwThreadId,
|
||||||
|
[out] ITfInputProcessorProfiles **ppaip,
|
||||||
|
[out] DWORD *pdwThreadid);
|
||||||
|
|
||||||
|
HRESULT RestoreLastFocus(
|
||||||
|
[out] DWORD *dwThreadId,
|
||||||
|
[in] BOOL fPrev);
|
||||||
|
|
||||||
|
HRESULT SetModalInput(
|
||||||
|
[in] ITfLangBarEventSink *pSink,
|
||||||
|
[in] DWORD dwThreadId,
|
||||||
|
[in] DWORD dwFlags);
|
||||||
|
|
||||||
|
HRESULT ShowFloating(
|
||||||
|
[in] DWORD dwFlags);
|
||||||
|
|
||||||
|
HRESULT GetShowFloatingStatus(
|
||||||
|
[out] DWORD *pdwFlags);
|
||||||
|
};
|
|
@ -20,7 +20,7 @@
|
||||||
import "oaidl.idl";
|
import "oaidl.idl";
|
||||||
import "comcat.idl";
|
import "comcat.idl";
|
||||||
import "textstor.idl";
|
import "textstor.idl";
|
||||||
/* import "ctfutb.idl"; */
|
import "ctfutb.idl";
|
||||||
#endif
|
#endif
|
||||||
cpp_quote("#include <winuser.h>")
|
cpp_quote("#include <winuser.h>")
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ cpp_quote("#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_IT
|
||||||
cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);")
|
cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);")
|
||||||
cpp_quote("HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);")
|
cpp_quote("HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);")
|
||||||
cpp_quote("HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);")
|
cpp_quote("HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);")
|
||||||
|
cpp_quote("HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm);")
|
||||||
|
|
||||||
cpp_quote("EXTERN_C const GUID GUID_PROP_TEXTOWNER;")
|
cpp_quote("EXTERN_C const GUID GUID_PROP_TEXTOWNER;")
|
||||||
cpp_quote("DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);")
|
cpp_quote("DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);")
|
||||||
|
@ -41,6 +42,7 @@ cpp_quote("EXTERN_C const GUID GUID_PROP_COMPOSING;")
|
||||||
|
|
||||||
cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;")
|
cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;")
|
||||||
cpp_quote("EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;")
|
cpp_quote("EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;")
|
||||||
|
cpp_quote("EXTERN_C const CLSID CLSID_TF_LangBarMgr;")
|
||||||
cpp_quote("EXTERN_C const CLSID CLSID_TF_CategoryMgr;")
|
cpp_quote("EXTERN_C const CLSID CLSID_TF_CategoryMgr;")
|
||||||
cpp_quote("DEFINE_GUID(CLSID_TF_DisplayAttributeMgr,0x3ce74de4,0x53d3,0x4d74,0x8b,0x83,0x43,0x1b,0x38,0x28,0xba,0x53);")
|
cpp_quote("DEFINE_GUID(CLSID_TF_DisplayAttributeMgr,0x3ce74de4,0x53d3,0x4d74,0x8b,0x83,0x43,0x1b,0x38,0x28,0xba,0x53);")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue