Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1457 lines
45 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0345 */
  4. /* Compiler settings for softkbd.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __softkbd_h__
  27. #define __softkbd_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISoftKbd_FWD_DEFINED__
  33. #define __ISoftKbd_FWD_DEFINED__
  34. typedef interface ISoftKbd ISoftKbd;
  35. #endif /* __ISoftKbd_FWD_DEFINED__ */
  36. #ifndef __ISoftKeyboardEventSink_FWD_DEFINED__
  37. #define __ISoftKeyboardEventSink_FWD_DEFINED__
  38. typedef interface ISoftKeyboardEventSink ISoftKeyboardEventSink;
  39. #endif /* __ISoftKeyboardEventSink_FWD_DEFINED__ */
  40. #ifndef __ISoftKbdWindowEventSink_FWD_DEFINED__
  41. #define __ISoftKbdWindowEventSink_FWD_DEFINED__
  42. typedef interface ISoftKbdWindowEventSink ISoftKbdWindowEventSink;
  43. #endif /* __ISoftKbdWindowEventSink_FWD_DEFINED__ */
  44. #ifndef __ITfFnSoftKbd_FWD_DEFINED__
  45. #define __ITfFnSoftKbd_FWD_DEFINED__
  46. typedef interface ITfFnSoftKbd ITfFnSoftKbd;
  47. #endif /* __ITfFnSoftKbd_FWD_DEFINED__ */
  48. #ifndef __ITfSoftKbdRegistry_FWD_DEFINED__
  49. #define __ITfSoftKbdRegistry_FWD_DEFINED__
  50. typedef interface ITfSoftKbdRegistry ITfSoftKbdRegistry;
  51. #endif /* __ITfSoftKbdRegistry_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "oaidl.h"
  54. #include "ocidl.h"
  55. #include "msctf.h"
  56. #ifdef __cplusplus
  57. extern "C"{
  58. #endif
  59. void * __RPC_USER MIDL_user_allocate(size_t);
  60. void __RPC_USER MIDL_user_free( void * );
  61. /* interface __MIDL_itf_softkbd_0000 */
  62. /* [local] */
  63. //=--------------------------------------------------------------------------=
  64. // softkbd.h
  65. // ISoftKbd declarations.
  66. //=--------------------------------------------------------------------------=
  67. // (C) Copyright 1995-2000 Microsoft Corporation. All Rights Reserved.
  68. //
  69. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  70. // ANY KIND, EITHER EXPRESSED OR TFPLIED, INCLUDING BUT NOT LIMITED TO
  71. // THE TFPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  72. // PARTICULAR PURPOSE.
  73. //=--------------------------------------------------------------------------=
  74. #ifndef SOFTKBD_DEFINED
  75. #define SOFTKBD_DEFINED
  76. #include <windows.h>
  77. #define SOFTKBD_US_STANDARD 1
  78. #define SOFTKBD_US_ENHANCE 2
  79. #define SOFTKBD_EURO_STANDARD 3
  80. #define SOFTKBD_EURO_ENHANCE 4
  81. #define SOFTKBD_JPN_STANDARD 5
  82. #define SOFTKBD_JPN_ENHANCE 6
  83. #define SOFTKBD_CUSTOMIZE_BEGIN 100
  84. #define SOFTKBD_NO_MORE 0
  85. #define SOFTKBD_SHOW 0x00000001
  86. #define SOFTKBD_DONT_SHOW_ALPHA_BLEND 0x80000000
  87. #ifndef _WINGDI_
  88. typedef /* [uuid] */ DECLSPEC_UUID("8849aa7d-f739-4dc0-bc61-ac48908af060") struct LOGFONTA
  89. {
  90. LONG lfHeight;
  91. LONG lfWidth;
  92. LONG lfEscapement;
  93. LONG lfOrientation;
  94. LONG lfWeight;
  95. BYTE lfItalic;
  96. BYTE lfUnderline;
  97. BYTE lfStrikeOut;
  98. BYTE lfCharSet;
  99. BYTE lfOutPrecision;
  100. BYTE lfClipPrecision;
  101. BYTE lfQuality;
  102. BYTE lfPitchAndFamily;
  103. CHAR lfFaceName[ 32 ];
  104. } LOGFONTA;
  105. typedef /* [uuid] */ DECLSPEC_UUID("f8c6fe8a-b112-433a-be87-eb970266ec4b") struct LOGFONTW
  106. {
  107. LONG lfHeight;
  108. LONG lfWidth;
  109. LONG lfEscapement;
  110. LONG lfOrientation;
  111. LONG lfWeight;
  112. BYTE lfItalic;
  113. BYTE lfUnderline;
  114. BYTE lfStrikeOut;
  115. BYTE lfCharSet;
  116. BYTE lfOutPrecision;
  117. BYTE lfClipPrecision;
  118. BYTE lfQuality;
  119. BYTE lfPitchAndFamily;
  120. WCHAR lfFaceName[ 32 ];
  121. } LOGFONTW;
  122. typedef LOGFONTA LOGFONT;
  123. #endif
  124. #if 0
  125. typedef /* [uuid] */ DECLSPEC_UUID("f0a544c0-1281-4e32-8bf7-a6e012e980d4") UINT_PTR HKL;
  126. #endif
  127. typedef /* [uuid] */ DECLSPEC_UUID("432ec152-51bf-43ca-8f86-50a7e230a069") DWORD KEYID;
  128. typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("5f46a703-f012-46db-8cda-294e994786e8")
  129. enum __MIDL___MIDL_itf_softkbd_0000_0001
  130. { bkcolor = 0,
  131. UnSelForeColor = 1,
  132. UnSelTextColor = 2,
  133. SelForeColor = 3,
  134. SelTextColor = 4,
  135. Max_color_Type = 5
  136. } COLORTYPE;
  137. typedef /* [public][public][public][uuid] */ DECLSPEC_UUID("711c6200-587a-46ef-9647-5a83638bac00")
  138. enum __MIDL___MIDL_itf_softkbd_0000_0002
  139. { ClickMouse = 0,
  140. Hover = 1,
  141. Scanning = 2
  142. } TYPEMODE;
  143. typedef /* [public][public][uuid] */ DECLSPEC_UUID("10b50da7-ce0b-4b83-827f-30c50c9bc5b9")
  144. enum __MIDL___MIDL_itf_softkbd_0000_0003
  145. { TITLEBAR_NONE = 0,
  146. TITLEBAR_GRIPPER_HORIZ_ONLY = 1,
  147. TITLEBAR_GRIPPER_VERTI_ONLY = 2,
  148. TITLEBAR_GRIPPER_BUTTON = 3
  149. } TITLEBAR_TYPE;
  150. extern RPC_IF_HANDLE __MIDL_itf_softkbd_0000_v0_0_c_ifspec;
  151. extern RPC_IF_HANDLE __MIDL_itf_softkbd_0000_v0_0_s_ifspec;
  152. #ifndef __ISoftKbd_INTERFACE_DEFINED__
  153. #define __ISoftKbd_INTERFACE_DEFINED__
  154. /* interface ISoftKbd */
  155. /* [unique][helpstring][uuid][object] */
  156. EXTERN_C const IID IID_ISoftKbd;
  157. #if defined(__cplusplus) && !defined(CINTERFACE)
  158. MIDL_INTERFACE("3CB00755-7536-4B0A-A213-572EFCAF93CD")
  159. ISoftKbd : public IUnknown
  160. {
  161. public:
  162. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  163. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumSoftKeyBoard(
  164. /* [in] */ LANGID langid,
  165. /* [out] */ DWORD *lpdwKeyboard) = 0;
  166. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SelectSoftKeyboard(
  167. /* [in] */ DWORD dwKeyboardId) = 0;
  168. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateSoftKeyboardLayoutFromXMLFile(
  169. /* [string][in] */ WCHAR *lpszKeyboardDesFile,
  170. /* [in] */ INT szFileStrLen,
  171. /* [out] */ DWORD *pdwLayoutCookie) = 0;
  172. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateSoftKeyboardLayoutFromResource(
  173. /* [string][in] */ WCHAR *lpszResFile,
  174. /* [string][in] */ WCHAR *lpszResType,
  175. /* [string][in] */ WCHAR *lpszXMLResString,
  176. /* [out] */ DWORD *lpdwLayoutCookie) = 0;
  177. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowSoftKeyboard(
  178. /* [in] */ INT iShow) = 0;
  179. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetKeyboardLabelText(
  180. /* [in] */ HKL hKl) = 0;
  181. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetKeyboardLabelTextCombination(
  182. /* [in] */ DWORD nModifierCombination) = 0;
  183. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateSoftKeyboardWindow(
  184. /* [in] */ HWND hOwner,
  185. /* [in] */ TITLEBAR_TYPE Titlebar_type,
  186. /* [in] */ INT xPos,
  187. /* [in] */ INT yPos,
  188. /* [in] */ INT width,
  189. /* [in] */ INT height) = 0;
  190. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DestroySoftKeyboardWindow( void) = 0;
  191. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKeyboardPosSize(
  192. /* [out] */ POINT *lpStartPoint,
  193. /* [out] */ WORD *lpwidth,
  194. /* [out] */ WORD *lpheight) = 0;
  195. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKeyboardColors(
  196. /* [in] */ COLORTYPE colorType,
  197. /* [out] */ COLORREF *lpColor) = 0;
  198. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKeyboardTypeMode(
  199. /* [out] */ TYPEMODE *lpTypeMode) = 0;
  200. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKeyboardTextFont(
  201. /* [out] */ LOGFONTW *pLogFont) = 0;
  202. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKeyboardPosSize(
  203. /* [in] */ POINT StartPoint,
  204. /* [in] */ WORD width,
  205. /* [in] */ WORD height) = 0;
  206. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKeyboardColors(
  207. /* [in] */ COLORTYPE colorType,
  208. /* [in] */ COLORREF Color) = 0;
  209. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKeyboardTypeMode(
  210. /* [in] */ TYPEMODE TypeMode) = 0;
  211. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKeyboardTextFont(
  212. /* [in] */ LOGFONTW *pLogFont) = 0;
  213. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowKeysForKeyScanMode(
  214. /* [in] */ KEYID *lpKeyID,
  215. /* [in] */ INT iKeyNum,
  216. /* [in] */ BOOL fHighL) = 0;
  217. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AdviseSoftKeyboardEventSink(
  218. /* [in] */ DWORD dwKeyboardId,
  219. /* [in] */ REFIID riid,
  220. /* [iid_is][in] */ IUnknown *punk,
  221. /* [out] */ DWORD *pdwCookie) = 0;
  222. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnadviseSoftKeyboardEventSink(
  223. /* [in] */ DWORD dwCookie) = 0;
  224. };
  225. #else /* C style interface */
  226. typedef struct ISoftKbdVtbl
  227. {
  228. BEGIN_INTERFACE
  229. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  230. ISoftKbd * This,
  231. /* [in] */ REFIID riid,
  232. /* [iid_is][out] */ void **ppvObject);
  233. ULONG ( STDMETHODCALLTYPE *AddRef )(
  234. ISoftKbd * This);
  235. ULONG ( STDMETHODCALLTYPE *Release )(
  236. ISoftKbd * This);
  237. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  238. ISoftKbd * This);
  239. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumSoftKeyBoard )(
  240. ISoftKbd * This,
  241. /* [in] */ LANGID langid,
  242. /* [out] */ DWORD *lpdwKeyboard);
  243. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SelectSoftKeyboard )(
  244. ISoftKbd * This,
  245. /* [in] */ DWORD dwKeyboardId);
  246. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateSoftKeyboardLayoutFromXMLFile )(
  247. ISoftKbd * This,
  248. /* [string][in] */ WCHAR *lpszKeyboardDesFile,
  249. /* [in] */ INT szFileStrLen,
  250. /* [out] */ DWORD *pdwLayoutCookie);
  251. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateSoftKeyboardLayoutFromResource )(
  252. ISoftKbd * This,
  253. /* [string][in] */ WCHAR *lpszResFile,
  254. /* [string][in] */ WCHAR *lpszResType,
  255. /* [string][in] */ WCHAR *lpszXMLResString,
  256. /* [out] */ DWORD *lpdwLayoutCookie);
  257. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowSoftKeyboard )(
  258. ISoftKbd * This,
  259. /* [in] */ INT iShow);
  260. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetKeyboardLabelText )(
  261. ISoftKbd * This,
  262. /* [in] */ HKL hKl);
  263. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetKeyboardLabelTextCombination )(
  264. ISoftKbd * This,
  265. /* [in] */ DWORD nModifierCombination);
  266. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateSoftKeyboardWindow )(
  267. ISoftKbd * This,
  268. /* [in] */ HWND hOwner,
  269. /* [in] */ TITLEBAR_TYPE Titlebar_type,
  270. /* [in] */ INT xPos,
  271. /* [in] */ INT yPos,
  272. /* [in] */ INT width,
  273. /* [in] */ INT height);
  274. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DestroySoftKeyboardWindow )(
  275. ISoftKbd * This);
  276. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKeyboardPosSize )(
  277. ISoftKbd * This,
  278. /* [out] */ POINT *lpStartPoint,
  279. /* [out] */ WORD *lpwidth,
  280. /* [out] */ WORD *lpheight);
  281. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKeyboardColors )(
  282. ISoftKbd * This,
  283. /* [in] */ COLORTYPE colorType,
  284. /* [out] */ COLORREF *lpColor);
  285. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKeyboardTypeMode )(
  286. ISoftKbd * This,
  287. /* [out] */ TYPEMODE *lpTypeMode);
  288. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKeyboardTextFont )(
  289. ISoftKbd * This,
  290. /* [out] */ LOGFONTW *pLogFont);
  291. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKeyboardPosSize )(
  292. ISoftKbd * This,
  293. /* [in] */ POINT StartPoint,
  294. /* [in] */ WORD width,
  295. /* [in] */ WORD height);
  296. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKeyboardColors )(
  297. ISoftKbd * This,
  298. /* [in] */ COLORTYPE colorType,
  299. /* [in] */ COLORREF Color);
  300. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKeyboardTypeMode )(
  301. ISoftKbd * This,
  302. /* [in] */ TYPEMODE TypeMode);
  303. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKeyboardTextFont )(
  304. ISoftKbd * This,
  305. /* [in] */ LOGFONTW *pLogFont);
  306. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowKeysForKeyScanMode )(
  307. ISoftKbd * This,
  308. /* [in] */ KEYID *lpKeyID,
  309. /* [in] */ INT iKeyNum,
  310. /* [in] */ BOOL fHighL);
  311. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AdviseSoftKeyboardEventSink )(
  312. ISoftKbd * This,
  313. /* [in] */ DWORD dwKeyboardId,
  314. /* [in] */ REFIID riid,
  315. /* [iid_is][in] */ IUnknown *punk,
  316. /* [out] */ DWORD *pdwCookie);
  317. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnadviseSoftKeyboardEventSink )(
  318. ISoftKbd * This,
  319. /* [in] */ DWORD dwCookie);
  320. END_INTERFACE
  321. } ISoftKbdVtbl;
  322. interface ISoftKbd
  323. {
  324. CONST_VTBL struct ISoftKbdVtbl *lpVtbl;
  325. };
  326. #ifdef COBJMACROS
  327. #define ISoftKbd_QueryInterface(This,riid,ppvObject) \
  328. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  329. #define ISoftKbd_AddRef(This) \
  330. (This)->lpVtbl -> AddRef(This)
  331. #define ISoftKbd_Release(This) \
  332. (This)->lpVtbl -> Release(This)
  333. #define ISoftKbd_Initialize(This) \
  334. (This)->lpVtbl -> Initialize(This)
  335. #define ISoftKbd_EnumSoftKeyBoard(This,langid,lpdwKeyboard) \
  336. (This)->lpVtbl -> EnumSoftKeyBoard(This,langid,lpdwKeyboard)
  337. #define ISoftKbd_SelectSoftKeyboard(This,dwKeyboardId) \
  338. (This)->lpVtbl -> SelectSoftKeyboard(This,dwKeyboardId)
  339. #define ISoftKbd_CreateSoftKeyboardLayoutFromXMLFile(This,lpszKeyboardDesFile,szFileStrLen,pdwLayoutCookie) \
  340. (This)->lpVtbl -> CreateSoftKeyboardLayoutFromXMLFile(This,lpszKeyboardDesFile,szFileStrLen,pdwLayoutCookie)
  341. #define ISoftKbd_CreateSoftKeyboardLayoutFromResource(This,lpszResFile,lpszResType,lpszXMLResString,lpdwLayoutCookie) \
  342. (This)->lpVtbl -> CreateSoftKeyboardLayoutFromResource(This,lpszResFile,lpszResType,lpszXMLResString,lpdwLayoutCookie)
  343. #define ISoftKbd_ShowSoftKeyboard(This,iShow) \
  344. (This)->lpVtbl -> ShowSoftKeyboard(This,iShow)
  345. #define ISoftKbd_SetKeyboardLabelText(This,hKl) \
  346. (This)->lpVtbl -> SetKeyboardLabelText(This,hKl)
  347. #define ISoftKbd_SetKeyboardLabelTextCombination(This,nModifierCombination) \
  348. (This)->lpVtbl -> SetKeyboardLabelTextCombination(This,nModifierCombination)
  349. #define ISoftKbd_CreateSoftKeyboardWindow(This,hOwner,Titlebar_type,xPos,yPos,width,height) \
  350. (This)->lpVtbl -> CreateSoftKeyboardWindow(This,hOwner,Titlebar_type,xPos,yPos,width,height)
  351. #define ISoftKbd_DestroySoftKeyboardWindow(This) \
  352. (This)->lpVtbl -> DestroySoftKeyboardWindow(This)
  353. #define ISoftKbd_GetSoftKeyboardPosSize(This,lpStartPoint,lpwidth,lpheight) \
  354. (This)->lpVtbl -> GetSoftKeyboardPosSize(This,lpStartPoint,lpwidth,lpheight)
  355. #define ISoftKbd_GetSoftKeyboardColors(This,colorType,lpColor) \
  356. (This)->lpVtbl -> GetSoftKeyboardColors(This,colorType,lpColor)
  357. #define ISoftKbd_GetSoftKeyboardTypeMode(This,lpTypeMode) \
  358. (This)->lpVtbl -> GetSoftKeyboardTypeMode(This,lpTypeMode)
  359. #define ISoftKbd_GetSoftKeyboardTextFont(This,pLogFont) \
  360. (This)->lpVtbl -> GetSoftKeyboardTextFont(This,pLogFont)
  361. #define ISoftKbd_SetSoftKeyboardPosSize(This,StartPoint,width,height) \
  362. (This)->lpVtbl -> SetSoftKeyboardPosSize(This,StartPoint,width,height)
  363. #define ISoftKbd_SetSoftKeyboardColors(This,colorType,Color) \
  364. (This)->lpVtbl -> SetSoftKeyboardColors(This,colorType,Color)
  365. #define ISoftKbd_SetSoftKeyboardTypeMode(This,TypeMode) \
  366. (This)->lpVtbl -> SetSoftKeyboardTypeMode(This,TypeMode)
  367. #define ISoftKbd_SetSoftKeyboardTextFont(This,pLogFont) \
  368. (This)->lpVtbl -> SetSoftKeyboardTextFont(This,pLogFont)
  369. #define ISoftKbd_ShowKeysForKeyScanMode(This,lpKeyID,iKeyNum,fHighL) \
  370. (This)->lpVtbl -> ShowKeysForKeyScanMode(This,lpKeyID,iKeyNum,fHighL)
  371. #define ISoftKbd_AdviseSoftKeyboardEventSink(This,dwKeyboardId,riid,punk,pdwCookie) \
  372. (This)->lpVtbl -> AdviseSoftKeyboardEventSink(This,dwKeyboardId,riid,punk,pdwCookie)
  373. #define ISoftKbd_UnadviseSoftKeyboardEventSink(This,dwCookie) \
  374. (This)->lpVtbl -> UnadviseSoftKeyboardEventSink(This,dwCookie)
  375. #endif /* COBJMACROS */
  376. #endif /* C style interface */
  377. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_Initialize_Proxy(
  378. ISoftKbd * This);
  379. void __RPC_STUB ISoftKbd_Initialize_Stub(
  380. IRpcStubBuffer *This,
  381. IRpcChannelBuffer *_pRpcChannelBuffer,
  382. PRPC_MESSAGE _pRpcMessage,
  383. DWORD *_pdwStubPhase);
  384. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_EnumSoftKeyBoard_Proxy(
  385. ISoftKbd * This,
  386. /* [in] */ LANGID langid,
  387. /* [out] */ DWORD *lpdwKeyboard);
  388. void __RPC_STUB ISoftKbd_EnumSoftKeyBoard_Stub(
  389. IRpcStubBuffer *This,
  390. IRpcChannelBuffer *_pRpcChannelBuffer,
  391. PRPC_MESSAGE _pRpcMessage,
  392. DWORD *_pdwStubPhase);
  393. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SelectSoftKeyboard_Proxy(
  394. ISoftKbd * This,
  395. /* [in] */ DWORD dwKeyboardId);
  396. void __RPC_STUB ISoftKbd_SelectSoftKeyboard_Stub(
  397. IRpcStubBuffer *This,
  398. IRpcChannelBuffer *_pRpcChannelBuffer,
  399. PRPC_MESSAGE _pRpcMessage,
  400. DWORD *_pdwStubPhase);
  401. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_CreateSoftKeyboardLayoutFromXMLFile_Proxy(
  402. ISoftKbd * This,
  403. /* [string][in] */ WCHAR *lpszKeyboardDesFile,
  404. /* [in] */ INT szFileStrLen,
  405. /* [out] */ DWORD *pdwLayoutCookie);
  406. void __RPC_STUB ISoftKbd_CreateSoftKeyboardLayoutFromXMLFile_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_CreateSoftKeyboardLayoutFromResource_Proxy(
  412. ISoftKbd * This,
  413. /* [string][in] */ WCHAR *lpszResFile,
  414. /* [string][in] */ WCHAR *lpszResType,
  415. /* [string][in] */ WCHAR *lpszXMLResString,
  416. /* [out] */ DWORD *lpdwLayoutCookie);
  417. void __RPC_STUB ISoftKbd_CreateSoftKeyboardLayoutFromResource_Stub(
  418. IRpcStubBuffer *This,
  419. IRpcChannelBuffer *_pRpcChannelBuffer,
  420. PRPC_MESSAGE _pRpcMessage,
  421. DWORD *_pdwStubPhase);
  422. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_ShowSoftKeyboard_Proxy(
  423. ISoftKbd * This,
  424. /* [in] */ INT iShow);
  425. void __RPC_STUB ISoftKbd_ShowSoftKeyboard_Stub(
  426. IRpcStubBuffer *This,
  427. IRpcChannelBuffer *_pRpcChannelBuffer,
  428. PRPC_MESSAGE _pRpcMessage,
  429. DWORD *_pdwStubPhase);
  430. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SetKeyboardLabelText_Proxy(
  431. ISoftKbd * This,
  432. /* [in] */ HKL hKl);
  433. void __RPC_STUB ISoftKbd_SetKeyboardLabelText_Stub(
  434. IRpcStubBuffer *This,
  435. IRpcChannelBuffer *_pRpcChannelBuffer,
  436. PRPC_MESSAGE _pRpcMessage,
  437. DWORD *_pdwStubPhase);
  438. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SetKeyboardLabelTextCombination_Proxy(
  439. ISoftKbd * This,
  440. /* [in] */ DWORD nModifierCombination);
  441. void __RPC_STUB ISoftKbd_SetKeyboardLabelTextCombination_Stub(
  442. IRpcStubBuffer *This,
  443. IRpcChannelBuffer *_pRpcChannelBuffer,
  444. PRPC_MESSAGE _pRpcMessage,
  445. DWORD *_pdwStubPhase);
  446. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_CreateSoftKeyboardWindow_Proxy(
  447. ISoftKbd * This,
  448. /* [in] */ HWND hOwner,
  449. /* [in] */ TITLEBAR_TYPE Titlebar_type,
  450. /* [in] */ INT xPos,
  451. /* [in] */ INT yPos,
  452. /* [in] */ INT width,
  453. /* [in] */ INT height);
  454. void __RPC_STUB ISoftKbd_CreateSoftKeyboardWindow_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_DestroySoftKeyboardWindow_Proxy(
  460. ISoftKbd * This);
  461. void __RPC_STUB ISoftKbd_DestroySoftKeyboardWindow_Stub(
  462. IRpcStubBuffer *This,
  463. IRpcChannelBuffer *_pRpcChannelBuffer,
  464. PRPC_MESSAGE _pRpcMessage,
  465. DWORD *_pdwStubPhase);
  466. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_GetSoftKeyboardPosSize_Proxy(
  467. ISoftKbd * This,
  468. /* [out] */ POINT *lpStartPoint,
  469. /* [out] */ WORD *lpwidth,
  470. /* [out] */ WORD *lpheight);
  471. void __RPC_STUB ISoftKbd_GetSoftKeyboardPosSize_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_GetSoftKeyboardColors_Proxy(
  477. ISoftKbd * This,
  478. /* [in] */ COLORTYPE colorType,
  479. /* [out] */ COLORREF *lpColor);
  480. void __RPC_STUB ISoftKbd_GetSoftKeyboardColors_Stub(
  481. IRpcStubBuffer *This,
  482. IRpcChannelBuffer *_pRpcChannelBuffer,
  483. PRPC_MESSAGE _pRpcMessage,
  484. DWORD *_pdwStubPhase);
  485. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_GetSoftKeyboardTypeMode_Proxy(
  486. ISoftKbd * This,
  487. /* [out] */ TYPEMODE *lpTypeMode);
  488. void __RPC_STUB ISoftKbd_GetSoftKeyboardTypeMode_Stub(
  489. IRpcStubBuffer *This,
  490. IRpcChannelBuffer *_pRpcChannelBuffer,
  491. PRPC_MESSAGE _pRpcMessage,
  492. DWORD *_pdwStubPhase);
  493. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_GetSoftKeyboardTextFont_Proxy(
  494. ISoftKbd * This,
  495. /* [out] */ LOGFONTW *pLogFont);
  496. void __RPC_STUB ISoftKbd_GetSoftKeyboardTextFont_Stub(
  497. IRpcStubBuffer *This,
  498. IRpcChannelBuffer *_pRpcChannelBuffer,
  499. PRPC_MESSAGE _pRpcMessage,
  500. DWORD *_pdwStubPhase);
  501. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SetSoftKeyboardPosSize_Proxy(
  502. ISoftKbd * This,
  503. /* [in] */ POINT StartPoint,
  504. /* [in] */ WORD width,
  505. /* [in] */ WORD height);
  506. void __RPC_STUB ISoftKbd_SetSoftKeyboardPosSize_Stub(
  507. IRpcStubBuffer *This,
  508. IRpcChannelBuffer *_pRpcChannelBuffer,
  509. PRPC_MESSAGE _pRpcMessage,
  510. DWORD *_pdwStubPhase);
  511. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SetSoftKeyboardColors_Proxy(
  512. ISoftKbd * This,
  513. /* [in] */ COLORTYPE colorType,
  514. /* [in] */ COLORREF Color);
  515. void __RPC_STUB ISoftKbd_SetSoftKeyboardColors_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SetSoftKeyboardTypeMode_Proxy(
  521. ISoftKbd * This,
  522. /* [in] */ TYPEMODE TypeMode);
  523. void __RPC_STUB ISoftKbd_SetSoftKeyboardTypeMode_Stub(
  524. IRpcStubBuffer *This,
  525. IRpcChannelBuffer *_pRpcChannelBuffer,
  526. PRPC_MESSAGE _pRpcMessage,
  527. DWORD *_pdwStubPhase);
  528. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_SetSoftKeyboardTextFont_Proxy(
  529. ISoftKbd * This,
  530. /* [in] */ LOGFONTW *pLogFont);
  531. void __RPC_STUB ISoftKbd_SetSoftKeyboardTextFont_Stub(
  532. IRpcStubBuffer *This,
  533. IRpcChannelBuffer *_pRpcChannelBuffer,
  534. PRPC_MESSAGE _pRpcMessage,
  535. DWORD *_pdwStubPhase);
  536. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_ShowKeysForKeyScanMode_Proxy(
  537. ISoftKbd * This,
  538. /* [in] */ KEYID *lpKeyID,
  539. /* [in] */ INT iKeyNum,
  540. /* [in] */ BOOL fHighL);
  541. void __RPC_STUB ISoftKbd_ShowKeysForKeyScanMode_Stub(
  542. IRpcStubBuffer *This,
  543. IRpcChannelBuffer *_pRpcChannelBuffer,
  544. PRPC_MESSAGE _pRpcMessage,
  545. DWORD *_pdwStubPhase);
  546. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_AdviseSoftKeyboardEventSink_Proxy(
  547. ISoftKbd * This,
  548. /* [in] */ DWORD dwKeyboardId,
  549. /* [in] */ REFIID riid,
  550. /* [iid_is][in] */ IUnknown *punk,
  551. /* [out] */ DWORD *pdwCookie);
  552. void __RPC_STUB ISoftKbd_AdviseSoftKeyboardEventSink_Stub(
  553. IRpcStubBuffer *This,
  554. IRpcChannelBuffer *_pRpcChannelBuffer,
  555. PRPC_MESSAGE _pRpcMessage,
  556. DWORD *_pdwStubPhase);
  557. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbd_UnadviseSoftKeyboardEventSink_Proxy(
  558. ISoftKbd * This,
  559. /* [in] */ DWORD dwCookie);
  560. void __RPC_STUB ISoftKbd_UnadviseSoftKeyboardEventSink_Stub(
  561. IRpcStubBuffer *This,
  562. IRpcChannelBuffer *_pRpcChannelBuffer,
  563. PRPC_MESSAGE _pRpcMessage,
  564. DWORD *_pdwStubPhase);
  565. #endif /* __ISoftKbd_INTERFACE_DEFINED__ */
  566. #ifndef __ISoftKeyboardEventSink_INTERFACE_DEFINED__
  567. #define __ISoftKeyboardEventSink_INTERFACE_DEFINED__
  568. /* interface ISoftKeyboardEventSink */
  569. /* [unique][helpstring][uuid][object] */
  570. EXTERN_C const IID IID_ISoftKeyboardEventSink;
  571. #if defined(__cplusplus) && !defined(CINTERFACE)
  572. MIDL_INTERFACE("3ea2bb1d-66e7-47f7-8795-cc03d388f887")
  573. ISoftKeyboardEventSink : public IUnknown
  574. {
  575. public:
  576. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnKeySelection(
  577. /* [in] */ KEYID KeySelected,
  578. /* [string][in] */ WCHAR *lpwszLabel) = 0;
  579. };
  580. #else /* C style interface */
  581. typedef struct ISoftKeyboardEventSinkVtbl
  582. {
  583. BEGIN_INTERFACE
  584. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  585. ISoftKeyboardEventSink * This,
  586. /* [in] */ REFIID riid,
  587. /* [iid_is][out] */ void **ppvObject);
  588. ULONG ( STDMETHODCALLTYPE *AddRef )(
  589. ISoftKeyboardEventSink * This);
  590. ULONG ( STDMETHODCALLTYPE *Release )(
  591. ISoftKeyboardEventSink * This);
  592. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnKeySelection )(
  593. ISoftKeyboardEventSink * This,
  594. /* [in] */ KEYID KeySelected,
  595. /* [string][in] */ WCHAR *lpwszLabel);
  596. END_INTERFACE
  597. } ISoftKeyboardEventSinkVtbl;
  598. interface ISoftKeyboardEventSink
  599. {
  600. CONST_VTBL struct ISoftKeyboardEventSinkVtbl *lpVtbl;
  601. };
  602. #ifdef COBJMACROS
  603. #define ISoftKeyboardEventSink_QueryInterface(This,riid,ppvObject) \
  604. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  605. #define ISoftKeyboardEventSink_AddRef(This) \
  606. (This)->lpVtbl -> AddRef(This)
  607. #define ISoftKeyboardEventSink_Release(This) \
  608. (This)->lpVtbl -> Release(This)
  609. #define ISoftKeyboardEventSink_OnKeySelection(This,KeySelected,lpwszLabel) \
  610. (This)->lpVtbl -> OnKeySelection(This,KeySelected,lpwszLabel)
  611. #endif /* COBJMACROS */
  612. #endif /* C style interface */
  613. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKeyboardEventSink_OnKeySelection_Proxy(
  614. ISoftKeyboardEventSink * This,
  615. /* [in] */ KEYID KeySelected,
  616. /* [string][in] */ WCHAR *lpwszLabel);
  617. void __RPC_STUB ISoftKeyboardEventSink_OnKeySelection_Stub(
  618. IRpcStubBuffer *This,
  619. IRpcChannelBuffer *_pRpcChannelBuffer,
  620. PRPC_MESSAGE _pRpcMessage,
  621. DWORD *_pdwStubPhase);
  622. #endif /* __ISoftKeyboardEventSink_INTERFACE_DEFINED__ */
  623. #ifndef __ISoftKbdWindowEventSink_INTERFACE_DEFINED__
  624. #define __ISoftKbdWindowEventSink_INTERFACE_DEFINED__
  625. /* interface ISoftKbdWindowEventSink */
  626. /* [unique][helpstring][uuid][object] */
  627. EXTERN_C const IID IID_ISoftKbdWindowEventSink;
  628. #if defined(__cplusplus) && !defined(CINTERFACE)
  629. MIDL_INTERFACE("e4283da5-d425-4f97-8b6a-061a03556e95")
  630. ISoftKbdWindowEventSink : public IUnknown
  631. {
  632. public:
  633. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnWindowClose( void) = 0;
  634. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnWindowMove(
  635. /* [in] */ int xWnd,
  636. /* [in] */ int yWnd,
  637. /* [in] */ int width,
  638. /* [in] */ int height) = 0;
  639. };
  640. #else /* C style interface */
  641. typedef struct ISoftKbdWindowEventSinkVtbl
  642. {
  643. BEGIN_INTERFACE
  644. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  645. ISoftKbdWindowEventSink * This,
  646. /* [in] */ REFIID riid,
  647. /* [iid_is][out] */ void **ppvObject);
  648. ULONG ( STDMETHODCALLTYPE *AddRef )(
  649. ISoftKbdWindowEventSink * This);
  650. ULONG ( STDMETHODCALLTYPE *Release )(
  651. ISoftKbdWindowEventSink * This);
  652. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnWindowClose )(
  653. ISoftKbdWindowEventSink * This);
  654. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnWindowMove )(
  655. ISoftKbdWindowEventSink * This,
  656. /* [in] */ int xWnd,
  657. /* [in] */ int yWnd,
  658. /* [in] */ int width,
  659. /* [in] */ int height);
  660. END_INTERFACE
  661. } ISoftKbdWindowEventSinkVtbl;
  662. interface ISoftKbdWindowEventSink
  663. {
  664. CONST_VTBL struct ISoftKbdWindowEventSinkVtbl *lpVtbl;
  665. };
  666. #ifdef COBJMACROS
  667. #define ISoftKbdWindowEventSink_QueryInterface(This,riid,ppvObject) \
  668. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  669. #define ISoftKbdWindowEventSink_AddRef(This) \
  670. (This)->lpVtbl -> AddRef(This)
  671. #define ISoftKbdWindowEventSink_Release(This) \
  672. (This)->lpVtbl -> Release(This)
  673. #define ISoftKbdWindowEventSink_OnWindowClose(This) \
  674. (This)->lpVtbl -> OnWindowClose(This)
  675. #define ISoftKbdWindowEventSink_OnWindowMove(This,xWnd,yWnd,width,height) \
  676. (This)->lpVtbl -> OnWindowMove(This,xWnd,yWnd,width,height)
  677. #endif /* COBJMACROS */
  678. #endif /* C style interface */
  679. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbdWindowEventSink_OnWindowClose_Proxy(
  680. ISoftKbdWindowEventSink * This);
  681. void __RPC_STUB ISoftKbdWindowEventSink_OnWindowClose_Stub(
  682. IRpcStubBuffer *This,
  683. IRpcChannelBuffer *_pRpcChannelBuffer,
  684. PRPC_MESSAGE _pRpcMessage,
  685. DWORD *_pdwStubPhase);
  686. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoftKbdWindowEventSink_OnWindowMove_Proxy(
  687. ISoftKbdWindowEventSink * This,
  688. /* [in] */ int xWnd,
  689. /* [in] */ int yWnd,
  690. /* [in] */ int width,
  691. /* [in] */ int height);
  692. void __RPC_STUB ISoftKbdWindowEventSink_OnWindowMove_Stub(
  693. IRpcStubBuffer *This,
  694. IRpcChannelBuffer *_pRpcChannelBuffer,
  695. PRPC_MESSAGE _pRpcMessage,
  696. DWORD *_pdwStubPhase);
  697. #endif /* __ISoftKbdWindowEventSink_INTERFACE_DEFINED__ */
  698. /* interface __MIDL_itf_softkbd_0358 */
  699. /* [local] */
  700. #define SOFTKBD_TYPE_US_STANDARD 1
  701. #define SOFTKBD_TYPE_US_SYMBOL 10
  702. extern RPC_IF_HANDLE __MIDL_itf_softkbd_0358_v0_0_c_ifspec;
  703. extern RPC_IF_HANDLE __MIDL_itf_softkbd_0358_v0_0_s_ifspec;
  704. #ifndef __ITfFnSoftKbd_INTERFACE_DEFINED__
  705. #define __ITfFnSoftKbd_INTERFACE_DEFINED__
  706. /* interface ITfFnSoftKbd */
  707. /* [unique][uuid][object] */
  708. EXTERN_C const IID IID_ITfFnSoftKbd;
  709. #if defined(__cplusplus) && !defined(CINTERFACE)
  710. MIDL_INTERFACE("e7342d48-573f-4f22-9181-41938b2529c2")
  711. ITfFnSoftKbd : public ITfFunction
  712. {
  713. public:
  714. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKbdLayoutId(
  715. /* [in] */ DWORD dwLayoutType,
  716. /* [out] */ DWORD *lpdwLayoutId) = 0;
  717. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetActiveLayoutId(
  718. /* [in] */ DWORD dwLayoutId) = 0;
  719. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKbdOnOff(
  720. /* [in] */ BOOL fOn) = 0;
  721. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKbdPosSize(
  722. /* [in] */ POINT StartPoint,
  723. /* [in] */ WORD width,
  724. /* [in] */ WORD height) = 0;
  725. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoftKbdColors(
  726. /* [in] */ COLORTYPE colorType,
  727. /* [in] */ COLORREF Color) = 0;
  728. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetActiveLayoutId(
  729. /* [out] */ DWORD *lpdwLayoutId) = 0;
  730. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKbdOnOff(
  731. /* [out] */ BOOL *lpfOn) = 0;
  732. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKbdPosSize(
  733. /* [out] */ POINT *lpStartPoint,
  734. /* [out] */ WORD *lpwidth,
  735. /* [out] */ WORD *lpheight) = 0;
  736. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSoftKbdColors(
  737. /* [in] */ COLORTYPE colorType,
  738. /* [out] */ COLORREF *lpColor) = 0;
  739. };
  740. #else /* C style interface */
  741. typedef struct ITfFnSoftKbdVtbl
  742. {
  743. BEGIN_INTERFACE
  744. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  745. ITfFnSoftKbd * This,
  746. /* [in] */ REFIID riid,
  747. /* [iid_is][out] */ void **ppvObject);
  748. ULONG ( STDMETHODCALLTYPE *AddRef )(
  749. ITfFnSoftKbd * This);
  750. ULONG ( STDMETHODCALLTYPE *Release )(
  751. ITfFnSoftKbd * This);
  752. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  753. ITfFnSoftKbd * This,
  754. /* [out] */ BSTR *pbstrName);
  755. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKbdLayoutId )(
  756. ITfFnSoftKbd * This,
  757. /* [in] */ DWORD dwLayoutType,
  758. /* [out] */ DWORD *lpdwLayoutId);
  759. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetActiveLayoutId )(
  760. ITfFnSoftKbd * This,
  761. /* [in] */ DWORD dwLayoutId);
  762. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKbdOnOff )(
  763. ITfFnSoftKbd * This,
  764. /* [in] */ BOOL fOn);
  765. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKbdPosSize )(
  766. ITfFnSoftKbd * This,
  767. /* [in] */ POINT StartPoint,
  768. /* [in] */ WORD width,
  769. /* [in] */ WORD height);
  770. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetSoftKbdColors )(
  771. ITfFnSoftKbd * This,
  772. /* [in] */ COLORTYPE colorType,
  773. /* [in] */ COLORREF Color);
  774. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetActiveLayoutId )(
  775. ITfFnSoftKbd * This,
  776. /* [out] */ DWORD *lpdwLayoutId);
  777. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKbdOnOff )(
  778. ITfFnSoftKbd * This,
  779. /* [out] */ BOOL *lpfOn);
  780. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKbdPosSize )(
  781. ITfFnSoftKbd * This,
  782. /* [out] */ POINT *lpStartPoint,
  783. /* [out] */ WORD *lpwidth,
  784. /* [out] */ WORD *lpheight);
  785. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSoftKbdColors )(
  786. ITfFnSoftKbd * This,
  787. /* [in] */ COLORTYPE colorType,
  788. /* [out] */ COLORREF *lpColor);
  789. END_INTERFACE
  790. } ITfFnSoftKbdVtbl;
  791. interface ITfFnSoftKbd
  792. {
  793. CONST_VTBL struct ITfFnSoftKbdVtbl *lpVtbl;
  794. };
  795. #ifdef COBJMACROS
  796. #define ITfFnSoftKbd_QueryInterface(This,riid,ppvObject) \
  797. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  798. #define ITfFnSoftKbd_AddRef(This) \
  799. (This)->lpVtbl -> AddRef(This)
  800. #define ITfFnSoftKbd_Release(This) \
  801. (This)->lpVtbl -> Release(This)
  802. #define ITfFnSoftKbd_GetDisplayName(This,pbstrName) \
  803. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  804. #define ITfFnSoftKbd_GetSoftKbdLayoutId(This,dwLayoutType,lpdwLayoutId) \
  805. (This)->lpVtbl -> GetSoftKbdLayoutId(This,dwLayoutType,lpdwLayoutId)
  806. #define ITfFnSoftKbd_SetActiveLayoutId(This,dwLayoutId) \
  807. (This)->lpVtbl -> SetActiveLayoutId(This,dwLayoutId)
  808. #define ITfFnSoftKbd_SetSoftKbdOnOff(This,fOn) \
  809. (This)->lpVtbl -> SetSoftKbdOnOff(This,fOn)
  810. #define ITfFnSoftKbd_SetSoftKbdPosSize(This,StartPoint,width,height) \
  811. (This)->lpVtbl -> SetSoftKbdPosSize(This,StartPoint,width,height)
  812. #define ITfFnSoftKbd_SetSoftKbdColors(This,colorType,Color) \
  813. (This)->lpVtbl -> SetSoftKbdColors(This,colorType,Color)
  814. #define ITfFnSoftKbd_GetActiveLayoutId(This,lpdwLayoutId) \
  815. (This)->lpVtbl -> GetActiveLayoutId(This,lpdwLayoutId)
  816. #define ITfFnSoftKbd_GetSoftKbdOnOff(This,lpfOn) \
  817. (This)->lpVtbl -> GetSoftKbdOnOff(This,lpfOn)
  818. #define ITfFnSoftKbd_GetSoftKbdPosSize(This,lpStartPoint,lpwidth,lpheight) \
  819. (This)->lpVtbl -> GetSoftKbdPosSize(This,lpStartPoint,lpwidth,lpheight)
  820. #define ITfFnSoftKbd_GetSoftKbdColors(This,colorType,lpColor) \
  821. (This)->lpVtbl -> GetSoftKbdColors(This,colorType,lpColor)
  822. #endif /* COBJMACROS */
  823. #endif /* C style interface */
  824. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_GetSoftKbdLayoutId_Proxy(
  825. ITfFnSoftKbd * This,
  826. /* [in] */ DWORD dwLayoutType,
  827. /* [out] */ DWORD *lpdwLayoutId);
  828. void __RPC_STUB ITfFnSoftKbd_GetSoftKbdLayoutId_Stub(
  829. IRpcStubBuffer *This,
  830. IRpcChannelBuffer *_pRpcChannelBuffer,
  831. PRPC_MESSAGE _pRpcMessage,
  832. DWORD *_pdwStubPhase);
  833. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_SetActiveLayoutId_Proxy(
  834. ITfFnSoftKbd * This,
  835. /* [in] */ DWORD dwLayoutId);
  836. void __RPC_STUB ITfFnSoftKbd_SetActiveLayoutId_Stub(
  837. IRpcStubBuffer *This,
  838. IRpcChannelBuffer *_pRpcChannelBuffer,
  839. PRPC_MESSAGE _pRpcMessage,
  840. DWORD *_pdwStubPhase);
  841. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_SetSoftKbdOnOff_Proxy(
  842. ITfFnSoftKbd * This,
  843. /* [in] */ BOOL fOn);
  844. void __RPC_STUB ITfFnSoftKbd_SetSoftKbdOnOff_Stub(
  845. IRpcStubBuffer *This,
  846. IRpcChannelBuffer *_pRpcChannelBuffer,
  847. PRPC_MESSAGE _pRpcMessage,
  848. DWORD *_pdwStubPhase);
  849. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_SetSoftKbdPosSize_Proxy(
  850. ITfFnSoftKbd * This,
  851. /* [in] */ POINT StartPoint,
  852. /* [in] */ WORD width,
  853. /* [in] */ WORD height);
  854. void __RPC_STUB ITfFnSoftKbd_SetSoftKbdPosSize_Stub(
  855. IRpcStubBuffer *This,
  856. IRpcChannelBuffer *_pRpcChannelBuffer,
  857. PRPC_MESSAGE _pRpcMessage,
  858. DWORD *_pdwStubPhase);
  859. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_SetSoftKbdColors_Proxy(
  860. ITfFnSoftKbd * This,
  861. /* [in] */ COLORTYPE colorType,
  862. /* [in] */ COLORREF Color);
  863. void __RPC_STUB ITfFnSoftKbd_SetSoftKbdColors_Stub(
  864. IRpcStubBuffer *This,
  865. IRpcChannelBuffer *_pRpcChannelBuffer,
  866. PRPC_MESSAGE _pRpcMessage,
  867. DWORD *_pdwStubPhase);
  868. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_GetActiveLayoutId_Proxy(
  869. ITfFnSoftKbd * This,
  870. /* [out] */ DWORD *lpdwLayoutId);
  871. void __RPC_STUB ITfFnSoftKbd_GetActiveLayoutId_Stub(
  872. IRpcStubBuffer *This,
  873. IRpcChannelBuffer *_pRpcChannelBuffer,
  874. PRPC_MESSAGE _pRpcMessage,
  875. DWORD *_pdwStubPhase);
  876. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_GetSoftKbdOnOff_Proxy(
  877. ITfFnSoftKbd * This,
  878. /* [out] */ BOOL *lpfOn);
  879. void __RPC_STUB ITfFnSoftKbd_GetSoftKbdOnOff_Stub(
  880. IRpcStubBuffer *This,
  881. IRpcChannelBuffer *_pRpcChannelBuffer,
  882. PRPC_MESSAGE _pRpcMessage,
  883. DWORD *_pdwStubPhase);
  884. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_GetSoftKbdPosSize_Proxy(
  885. ITfFnSoftKbd * This,
  886. /* [out] */ POINT *lpStartPoint,
  887. /* [out] */ WORD *lpwidth,
  888. /* [out] */ WORD *lpheight);
  889. void __RPC_STUB ITfFnSoftKbd_GetSoftKbdPosSize_Stub(
  890. IRpcStubBuffer *This,
  891. IRpcChannelBuffer *_pRpcChannelBuffer,
  892. PRPC_MESSAGE _pRpcMessage,
  893. DWORD *_pdwStubPhase);
  894. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfFnSoftKbd_GetSoftKbdColors_Proxy(
  895. ITfFnSoftKbd * This,
  896. /* [in] */ COLORTYPE colorType,
  897. /* [out] */ COLORREF *lpColor);
  898. void __RPC_STUB ITfFnSoftKbd_GetSoftKbdColors_Stub(
  899. IRpcStubBuffer *This,
  900. IRpcChannelBuffer *_pRpcChannelBuffer,
  901. PRPC_MESSAGE _pRpcMessage,
  902. DWORD *_pdwStubPhase);
  903. #endif /* __ITfFnSoftKbd_INTERFACE_DEFINED__ */
  904. #ifndef __ITfSoftKbdRegistry_INTERFACE_DEFINED__
  905. #define __ITfSoftKbdRegistry_INTERFACE_DEFINED__
  906. /* interface ITfSoftKbdRegistry */
  907. /* [unique][uuid][object] */
  908. EXTERN_C const IID IID_ITfSoftKbdRegistry;
  909. #if defined(__cplusplus) && !defined(CINTERFACE)
  910. MIDL_INTERFACE("f5f31f14-fdf0-4d29-835a-46adfe743b78")
  911. ITfSoftKbdRegistry : public IUnknown
  912. {
  913. public:
  914. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnableSoftkbd(
  915. LANGID langid) = 0;
  916. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisableSoftkbd(
  917. LANGID langid) = 0;
  918. };
  919. #else /* C style interface */
  920. typedef struct ITfSoftKbdRegistryVtbl
  921. {
  922. BEGIN_INTERFACE
  923. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  924. ITfSoftKbdRegistry * This,
  925. /* [in] */ REFIID riid,
  926. /* [iid_is][out] */ void **ppvObject);
  927. ULONG ( STDMETHODCALLTYPE *AddRef )(
  928. ITfSoftKbdRegistry * This);
  929. ULONG ( STDMETHODCALLTYPE *Release )(
  930. ITfSoftKbdRegistry * This);
  931. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnableSoftkbd )(
  932. ITfSoftKbdRegistry * This,
  933. LANGID langid);
  934. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisableSoftkbd )(
  935. ITfSoftKbdRegistry * This,
  936. LANGID langid);
  937. END_INTERFACE
  938. } ITfSoftKbdRegistryVtbl;
  939. interface ITfSoftKbdRegistry
  940. {
  941. CONST_VTBL struct ITfSoftKbdRegistryVtbl *lpVtbl;
  942. };
  943. #ifdef COBJMACROS
  944. #define ITfSoftKbdRegistry_QueryInterface(This,riid,ppvObject) \
  945. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  946. #define ITfSoftKbdRegistry_AddRef(This) \
  947. (This)->lpVtbl -> AddRef(This)
  948. #define ITfSoftKbdRegistry_Release(This) \
  949. (This)->lpVtbl -> Release(This)
  950. #define ITfSoftKbdRegistry_EnableSoftkbd(This,langid) \
  951. (This)->lpVtbl -> EnableSoftkbd(This,langid)
  952. #define ITfSoftKbdRegistry_DisableSoftkbd(This,langid) \
  953. (This)->lpVtbl -> DisableSoftkbd(This,langid)
  954. #endif /* COBJMACROS */
  955. #endif /* C style interface */
  956. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfSoftKbdRegistry_EnableSoftkbd_Proxy(
  957. ITfSoftKbdRegistry * This,
  958. LANGID langid);
  959. void __RPC_STUB ITfSoftKbdRegistry_EnableSoftkbd_Stub(
  960. IRpcStubBuffer *This,
  961. IRpcChannelBuffer *_pRpcChannelBuffer,
  962. PRPC_MESSAGE _pRpcMessage,
  963. DWORD *_pdwStubPhase);
  964. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ITfSoftKbdRegistry_DisableSoftkbd_Proxy(
  965. ITfSoftKbdRegistry * This,
  966. LANGID langid);
  967. void __RPC_STUB ITfSoftKbdRegistry_DisableSoftkbd_Stub(
  968. IRpcStubBuffer *This,
  969. IRpcChannelBuffer *_pRpcChannelBuffer,
  970. PRPC_MESSAGE _pRpcMessage,
  971. DWORD *_pdwStubPhase);
  972. #endif /* __ITfSoftKbdRegistry_INTERFACE_DEFINED__ */
  973. /* interface __MIDL_itf_softkbd_0360 */
  974. /* [local] */
  975. DEFINE_GUID( IID_ISoftKbd, 0x3CB00755, 0x7536, 0x4B0A, 0xA2, 0x13, 0x57, 0x2E, 0xFC, 0xAF, 0x93, 0xCD );
  976. DEFINE_GUID( IID_ISoftKeyboardEventSink,0x3ea2bb1d, 0x66e7, 0x47f7, 0x87, 0x95, 0xcc, 0x03, 0xd3, 0x88, 0xf8, 0x87 );
  977. DEFINE_GUID( IID_ITfFnSoftKbd, 0xe7342d48, 0x573f, 0x4f22, 0x91, 0x81, 0x41, 0x93, 0x8b, 0x25, 0x29, 0xc2);
  978. DEFINE_GUID( IID_ISoftKbdWindowEventSink, 0xe4283da5,0xd425,0x4f97,0x8b, 0x6a,0x06, 0x1a, 0x03, 0x55, 0x6e, 0x95);
  979. DEFINE_GUID( IID_ITfSoftKbdRegistry, 0xf5f31f14, 0xfdf0, 0x4d29, 0x83, 0x5a, 0x46, 0xad, 0xfe, 0x74, 0x3b, 0x78);
  980. DEFINE_GUID( CLSID_SoftKbd,0x1B1A897E, 0xFBEE, 0x41CF, 0x8C, 0x48,0x9B, 0xF7, 0x64, 0xF6, 0x2B, 0x8B);
  981. DEFINE_GUID( CLSID_SoftkbdIMX, 0xf89e9e58, 0xbd2f, 0x4008, 0x9a, 0xc2, 0x0f, 0x81, 0x6c, 0x09, 0xf4, 0xee);
  982. DEFINE_GUID( CLSID_SoftkbdRegistry, 0x6a49950e, 0xce8a, 0x4ef7, 0x88, 0xb4, 0x9d, 0x11, 0x23, 0x66, 0x51, 0x1c );
  983. #endif // SOFTKBD_DEFINED
  984. extern RPC_IF_HANDLE __MIDL_itf_softkbd_0360_v0_0_c_ifspec;
  985. extern RPC_IF_HANDLE __MIDL_itf_softkbd_0360_v0_0_s_ifspec;
  986. /* Additional Prototypes for ALL interfaces */
  987. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  988. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  989. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  990. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  991. /* end of Additional Prototypes */
  992. #ifdef __cplusplus
  993. }
  994. #endif
  995. #endif