MLang.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:171k
源码类别:

模拟服务器

开发平台:

C/C++

  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.0347 */
  4. /* Compiler settings for mlang.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext
  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__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __mlang_h__
  20. #define __mlang_h__
  21. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  22. #pragma once
  23. #endif
  24. /* Forward Declarations */ 
  25. #ifndef __IMLangStringBufW_FWD_DEFINED__
  26. #define __IMLangStringBufW_FWD_DEFINED__
  27. typedef interface IMLangStringBufW IMLangStringBufW;
  28. #endif  /* __IMLangStringBufW_FWD_DEFINED__ */
  29. #ifndef __IMLangStringBufA_FWD_DEFINED__
  30. #define __IMLangStringBufA_FWD_DEFINED__
  31. typedef interface IMLangStringBufA IMLangStringBufA;
  32. #endif  /* __IMLangStringBufA_FWD_DEFINED__ */
  33. #ifndef __IMLangString_FWD_DEFINED__
  34. #define __IMLangString_FWD_DEFINED__
  35. typedef interface IMLangString IMLangString;
  36. #endif  /* __IMLangString_FWD_DEFINED__ */
  37. #ifndef __IMLangStringWStr_FWD_DEFINED__
  38. #define __IMLangStringWStr_FWD_DEFINED__
  39. typedef interface IMLangStringWStr IMLangStringWStr;
  40. #endif  /* __IMLangStringWStr_FWD_DEFINED__ */
  41. #ifndef __IMLangStringAStr_FWD_DEFINED__
  42. #define __IMLangStringAStr_FWD_DEFINED__
  43. typedef interface IMLangStringAStr IMLangStringAStr;
  44. #endif  /* __IMLangStringAStr_FWD_DEFINED__ */
  45. #ifndef __CMLangString_FWD_DEFINED__
  46. #define __CMLangString_FWD_DEFINED__
  47. #ifdef __cplusplus
  48. typedef class CMLangString CMLangString;
  49. #else
  50. typedef struct CMLangString CMLangString;
  51. #endif /* __cplusplus */
  52. #endif  /* __CMLangString_FWD_DEFINED__ */
  53. #ifndef __IMLangLineBreakConsole_FWD_DEFINED__
  54. #define __IMLangLineBreakConsole_FWD_DEFINED__
  55. typedef interface IMLangLineBreakConsole IMLangLineBreakConsole;
  56. #endif  /* __IMLangLineBreakConsole_FWD_DEFINED__ */
  57. #ifndef __IEnumCodePage_FWD_DEFINED__
  58. #define __IEnumCodePage_FWD_DEFINED__
  59. typedef interface IEnumCodePage IEnumCodePage;
  60. #endif  /* __IEnumCodePage_FWD_DEFINED__ */
  61. #ifndef __IEnumRfc1766_FWD_DEFINED__
  62. #define __IEnumRfc1766_FWD_DEFINED__
  63. typedef interface IEnumRfc1766 IEnumRfc1766;
  64. #endif  /* __IEnumRfc1766_FWD_DEFINED__ */
  65. #ifndef __IEnumScript_FWD_DEFINED__
  66. #define __IEnumScript_FWD_DEFINED__
  67. typedef interface IEnumScript IEnumScript;
  68. #endif  /* __IEnumScript_FWD_DEFINED__ */
  69. #ifndef __IMLangConvertCharset_FWD_DEFINED__
  70. #define __IMLangConvertCharset_FWD_DEFINED__
  71. typedef interface IMLangConvertCharset IMLangConvertCharset;
  72. #endif  /* __IMLangConvertCharset_FWD_DEFINED__ */
  73. #ifndef __CMLangConvertCharset_FWD_DEFINED__
  74. #define __CMLangConvertCharset_FWD_DEFINED__
  75. #ifdef __cplusplus
  76. typedef class CMLangConvertCharset CMLangConvertCharset;
  77. #else
  78. typedef struct CMLangConvertCharset CMLangConvertCharset;
  79. #endif /* __cplusplus */
  80. #endif  /* __CMLangConvertCharset_FWD_DEFINED__ */
  81. #ifndef __IMultiLanguage_FWD_DEFINED__
  82. #define __IMultiLanguage_FWD_DEFINED__
  83. typedef interface IMultiLanguage IMultiLanguage;
  84. #endif  /* __IMultiLanguage_FWD_DEFINED__ */
  85. #ifndef __IMultiLanguage2_FWD_DEFINED__
  86. #define __IMultiLanguage2_FWD_DEFINED__
  87. typedef interface IMultiLanguage2 IMultiLanguage2;
  88. #endif  /* __IMultiLanguage2_FWD_DEFINED__ */
  89. #ifndef __IMLangCodePages_FWD_DEFINED__
  90. #define __IMLangCodePages_FWD_DEFINED__
  91. typedef interface IMLangCodePages IMLangCodePages;
  92. #endif  /* __IMLangCodePages_FWD_DEFINED__ */
  93. #ifndef __IMLangFontLink_FWD_DEFINED__
  94. #define __IMLangFontLink_FWD_DEFINED__
  95. typedef interface IMLangFontLink IMLangFontLink;
  96. #endif  /* __IMLangFontLink_FWD_DEFINED__ */
  97. #ifndef __IMLangFontLink2_FWD_DEFINED__
  98. #define __IMLangFontLink2_FWD_DEFINED__
  99. typedef interface IMLangFontLink2 IMLangFontLink2;
  100. #endif  /* __IMLangFontLink2_FWD_DEFINED__ */
  101. #ifndef __IMultiLanguage3_FWD_DEFINED__
  102. #define __IMultiLanguage3_FWD_DEFINED__
  103. typedef interface IMultiLanguage3 IMultiLanguage3;
  104. #endif  /* __IMultiLanguage3_FWD_DEFINED__ */
  105. #ifndef __CMultiLanguage_FWD_DEFINED__
  106. #define __CMultiLanguage_FWD_DEFINED__
  107. #ifdef __cplusplus
  108. typedef class CMultiLanguage CMultiLanguage;
  109. #else
  110. typedef struct CMultiLanguage CMultiLanguage;
  111. #endif /* __cplusplus */
  112. #endif  /* __CMultiLanguage_FWD_DEFINED__ */
  113. /* header files for imported files */
  114. #include "unknwn.h"
  115. #ifdef __cplusplus
  116. extern "C"{
  117. #endif 
  118. void * __RPC_USER MIDL_user_allocate(size_t);
  119. void __RPC_USER MIDL_user_free( void * ); 
  120. /* interface __MIDL_itf_mlang_0000 */
  121. /* [local] */ 
  122. //=--------------------------------------------------------------------------=
  123. // MLang.h                                                                    
  124. //=--------------------------------------------------------------------------=
  125. // Copyright (c) Microsoft Corporation. All rights reserved.
  126. //                                                                            
  127. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF        
  128. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO        
  129. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A             
  130. // PARTICULAR PURPOSE.                                                        
  131. //=--------------------------------------------------------------------------=
  132.                                                                               
  133. #pragma comment(lib,"uuid.lib")                                             
  134.                                                                               
  135. //----------------------------------------------------------------------------
  136. // IMultiLanguage Interfaces.                                                 
  137.                                                                               
  138. extern RPC_IF_HANDLE __MIDL_itf_mlang_0000_v0_0_c_ifspec;
  139. extern RPC_IF_HANDLE __MIDL_itf_mlang_0000_v0_0_s_ifspec;
  140. #ifndef __MultiLanguage_LIBRARY_DEFINED__
  141. #define __MultiLanguage_LIBRARY_DEFINED__
  142. /* library MultiLanguage */
  143. /* [version][lcid][helpstring][uuid] */ 
  144. typedef WORD LANGID;
  145. typedef 
  146. enum tagMLSTR_FLAGS
  147.     { MLSTR_READ = 1,
  148. MLSTR_WRITE = 2
  149.     }  MLSTR_FLAGS;
  150. // dwfIODControl definitions for ValidateCodePageEx()
  151. #define CPIOD_PEEK          0x40000000L
  152. #define CPIOD_FORCE_PROMPT  0x80000000L
  153. EXTERN_C const IID LIBID_MultiLanguage;
  154. #ifndef __IMLangStringBufW_INTERFACE_DEFINED__
  155. #define __IMLangStringBufW_INTERFACE_DEFINED__
  156. /* interface IMLangStringBufW */
  157. /* [object][unique][helpstring][uuid] */ 
  158. EXTERN_C const IID IID_IMLangStringBufW;
  159. #if defined(__cplusplus) && !defined(CINTERFACE)
  160.     
  161.     MIDL_INTERFACE("D24ACD21-BA72-11D0-B188-00AA0038C969")
  162.     IMLangStringBufW : public IUnknown
  163.     {
  164.     public:
  165.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStatus( 
  166.             /* [out] */ long *plFlags,
  167.             /* [out] */ long *pcchBuf) = 0;
  168.         
  169.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockBuf( 
  170.             /* [in] */ long cchOffset,
  171.             /* [in] */ long cchMaxLock,
  172.             /* [size_is][size_is][out] */ WCHAR **ppszBuf,
  173.             /* [out] */ long *pcchBuf) = 0;
  174.         
  175.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockBuf( 
  176.             /* [size_is][in] */ const WCHAR *pszBuf,
  177.             /* [in] */ long cchOffset,
  178.             /* [in] */ long cchWrite) = 0;
  179.         
  180.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Insert( 
  181.             /* [in] */ long cchOffset,
  182.             /* [in] */ long cchMaxInsert,
  183.             /* [out] */ long *pcchActual) = 0;
  184.         
  185.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Delete( 
  186.             /* [in] */ long cchOffset,
  187.             /* [in] */ long cchDelete) = 0;
  188.         
  189.     };
  190.     
  191. #else  /* C style interface */
  192.     typedef struct IMLangStringBufWVtbl
  193.     {
  194.         BEGIN_INTERFACE
  195.         
  196.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  197.             IMLangStringBufW * This,
  198.             /* [in] */ REFIID riid,
  199.             /* [iid_is][out] */ void **ppvObject);
  200.         
  201.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  202.             IMLangStringBufW * This);
  203.         
  204.         ULONG ( STDMETHODCALLTYPE *Release )( 
  205.             IMLangStringBufW * This);
  206.         
  207.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStatus )( 
  208.             IMLangStringBufW * This,
  209.             /* [out] */ long *plFlags,
  210.             /* [out] */ long *pcchBuf);
  211.         
  212.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockBuf )( 
  213.             IMLangStringBufW * This,
  214.             /* [in] */ long cchOffset,
  215.             /* [in] */ long cchMaxLock,
  216.             /* [size_is][size_is][out] */ WCHAR **ppszBuf,
  217.             /* [out] */ long *pcchBuf);
  218.         
  219.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockBuf )( 
  220.             IMLangStringBufW * This,
  221.             /* [size_is][in] */ const WCHAR *pszBuf,
  222.             /* [in] */ long cchOffset,
  223.             /* [in] */ long cchWrite);
  224.         
  225.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Insert )( 
  226.             IMLangStringBufW * This,
  227.             /* [in] */ long cchOffset,
  228.             /* [in] */ long cchMaxInsert,
  229.             /* [out] */ long *pcchActual);
  230.         
  231.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Delete )( 
  232.             IMLangStringBufW * This,
  233.             /* [in] */ long cchOffset,
  234.             /* [in] */ long cchDelete);
  235.         
  236.         END_INTERFACE
  237.     } IMLangStringBufWVtbl;
  238.     interface IMLangStringBufW
  239.     {
  240.         CONST_VTBL struct IMLangStringBufWVtbl *lpVtbl;
  241.     };
  242.     
  243. #ifdef COBJMACROS
  244. #define IMLangStringBufW_QueryInterface(This,riid,ppvObject)
  245.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  246. #define IMLangStringBufW_AddRef(This)
  247.     (This)->lpVtbl -> AddRef(This)
  248. #define IMLangStringBufW_Release(This)
  249.     (This)->lpVtbl -> Release(This)
  250. #define IMLangStringBufW_GetStatus(This,plFlags,pcchBuf)
  251.     (This)->lpVtbl -> GetStatus(This,plFlags,pcchBuf)
  252. #define IMLangStringBufW_LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
  253.     (This)->lpVtbl -> LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
  254. #define IMLangStringBufW_UnlockBuf(This,pszBuf,cchOffset,cchWrite)
  255.     (This)->lpVtbl -> UnlockBuf(This,pszBuf,cchOffset,cchWrite)
  256. #define IMLangStringBufW_Insert(This,cchOffset,cchMaxInsert,pcchActual)
  257.     (This)->lpVtbl -> Insert(This,cchOffset,cchMaxInsert,pcchActual)
  258. #define IMLangStringBufW_Delete(This,cchOffset,cchDelete)
  259.     (This)->lpVtbl -> Delete(This,cchOffset,cchDelete)
  260. #endif /* COBJMACROS */
  261. #endif  /* C style interface */
  262. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_GetStatus_Proxy( 
  263.     IMLangStringBufW * This,
  264.     /* [out] */ long *plFlags,
  265.     /* [out] */ long *pcchBuf);
  266. void __RPC_STUB IMLangStringBufW_GetStatus_Stub(
  267.     IRpcStubBuffer *This,
  268.     IRpcChannelBuffer *_pRpcChannelBuffer,
  269.     PRPC_MESSAGE _pRpcMessage,
  270.     DWORD *_pdwStubPhase);
  271. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_LockBuf_Proxy( 
  272.     IMLangStringBufW * This,
  273.     /* [in] */ long cchOffset,
  274.     /* [in] */ long cchMaxLock,
  275.     /* [size_is][size_is][out] */ WCHAR **ppszBuf,
  276.     /* [out] */ long *pcchBuf);
  277. void __RPC_STUB IMLangStringBufW_LockBuf_Stub(
  278.     IRpcStubBuffer *This,
  279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  280.     PRPC_MESSAGE _pRpcMessage,
  281.     DWORD *_pdwStubPhase);
  282. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_UnlockBuf_Proxy( 
  283.     IMLangStringBufW * This,
  284.     /* [size_is][in] */ const WCHAR *pszBuf,
  285.     /* [in] */ long cchOffset,
  286.     /* [in] */ long cchWrite);
  287. void __RPC_STUB IMLangStringBufW_UnlockBuf_Stub(
  288.     IRpcStubBuffer *This,
  289.     IRpcChannelBuffer *_pRpcChannelBuffer,
  290.     PRPC_MESSAGE _pRpcMessage,
  291.     DWORD *_pdwStubPhase);
  292. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_Insert_Proxy( 
  293.     IMLangStringBufW * This,
  294.     /* [in] */ long cchOffset,
  295.     /* [in] */ long cchMaxInsert,
  296.     /* [out] */ long *pcchActual);
  297. void __RPC_STUB IMLangStringBufW_Insert_Stub(
  298.     IRpcStubBuffer *This,
  299.     IRpcChannelBuffer *_pRpcChannelBuffer,
  300.     PRPC_MESSAGE _pRpcMessage,
  301.     DWORD *_pdwStubPhase);
  302. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_Delete_Proxy( 
  303.     IMLangStringBufW * This,
  304.     /* [in] */ long cchOffset,
  305.     /* [in] */ long cchDelete);
  306. void __RPC_STUB IMLangStringBufW_Delete_Stub(
  307.     IRpcStubBuffer *This,
  308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  309.     PRPC_MESSAGE _pRpcMessage,
  310.     DWORD *_pdwStubPhase);
  311. #endif  /* __IMLangStringBufW_INTERFACE_DEFINED__ */
  312. #ifndef __IMLangStringBufA_INTERFACE_DEFINED__
  313. #define __IMLangStringBufA_INTERFACE_DEFINED__
  314. /* interface IMLangStringBufA */
  315. /* [object][unique][helpstring][uuid] */ 
  316. EXTERN_C const IID IID_IMLangStringBufA;
  317. #if defined(__cplusplus) && !defined(CINTERFACE)
  318.     
  319.     MIDL_INTERFACE("D24ACD23-BA72-11D0-B188-00AA0038C969")
  320.     IMLangStringBufA : public IUnknown
  321.     {
  322.     public:
  323.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStatus( 
  324.             /* [out] */ long *plFlags,
  325.             /* [out] */ long *pcchBuf) = 0;
  326.         
  327.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockBuf( 
  328.             /* [in] */ long cchOffset,
  329.             /* [in] */ long cchMaxLock,
  330.             /* [size_is][size_is][out] */ CHAR **ppszBuf,
  331.             /* [out] */ long *pcchBuf) = 0;
  332.         
  333.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockBuf( 
  334.             /* [size_is][in] */ const CHAR *pszBuf,
  335.             /* [in] */ long cchOffset,
  336.             /* [in] */ long cchWrite) = 0;
  337.         
  338.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Insert( 
  339.             /* [in] */ long cchOffset,
  340.             /* [in] */ long cchMaxInsert,
  341.             /* [out] */ long *pcchActual) = 0;
  342.         
  343.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Delete( 
  344.             /* [in] */ long cchOffset,
  345.             /* [in] */ long cchDelete) = 0;
  346.         
  347.     };
  348.     
  349. #else  /* C style interface */
  350.     typedef struct IMLangStringBufAVtbl
  351.     {
  352.         BEGIN_INTERFACE
  353.         
  354.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  355.             IMLangStringBufA * This,
  356.             /* [in] */ REFIID riid,
  357.             /* [iid_is][out] */ void **ppvObject);
  358.         
  359.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  360.             IMLangStringBufA * This);
  361.         
  362.         ULONG ( STDMETHODCALLTYPE *Release )( 
  363.             IMLangStringBufA * This);
  364.         
  365.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStatus )( 
  366.             IMLangStringBufA * This,
  367.             /* [out] */ long *plFlags,
  368.             /* [out] */ long *pcchBuf);
  369.         
  370.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockBuf )( 
  371.             IMLangStringBufA * This,
  372.             /* [in] */ long cchOffset,
  373.             /* [in] */ long cchMaxLock,
  374.             /* [size_is][size_is][out] */ CHAR **ppszBuf,
  375.             /* [out] */ long *pcchBuf);
  376.         
  377.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockBuf )( 
  378.             IMLangStringBufA * This,
  379.             /* [size_is][in] */ const CHAR *pszBuf,
  380.             /* [in] */ long cchOffset,
  381.             /* [in] */ long cchWrite);
  382.         
  383.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Insert )( 
  384.             IMLangStringBufA * This,
  385.             /* [in] */ long cchOffset,
  386.             /* [in] */ long cchMaxInsert,
  387.             /* [out] */ long *pcchActual);
  388.         
  389.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Delete )( 
  390.             IMLangStringBufA * This,
  391.             /* [in] */ long cchOffset,
  392.             /* [in] */ long cchDelete);
  393.         
  394.         END_INTERFACE
  395.     } IMLangStringBufAVtbl;
  396.     interface IMLangStringBufA
  397.     {
  398.         CONST_VTBL struct IMLangStringBufAVtbl *lpVtbl;
  399.     };
  400.     
  401. #ifdef COBJMACROS
  402. #define IMLangStringBufA_QueryInterface(This,riid,ppvObject)
  403.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  404. #define IMLangStringBufA_AddRef(This)
  405.     (This)->lpVtbl -> AddRef(This)
  406. #define IMLangStringBufA_Release(This)
  407.     (This)->lpVtbl -> Release(This)
  408. #define IMLangStringBufA_GetStatus(This,plFlags,pcchBuf)
  409.     (This)->lpVtbl -> GetStatus(This,plFlags,pcchBuf)
  410. #define IMLangStringBufA_LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
  411.     (This)->lpVtbl -> LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
  412. #define IMLangStringBufA_UnlockBuf(This,pszBuf,cchOffset,cchWrite)
  413.     (This)->lpVtbl -> UnlockBuf(This,pszBuf,cchOffset,cchWrite)
  414. #define IMLangStringBufA_Insert(This,cchOffset,cchMaxInsert,pcchActual)
  415.     (This)->lpVtbl -> Insert(This,cchOffset,cchMaxInsert,pcchActual)
  416. #define IMLangStringBufA_Delete(This,cchOffset,cchDelete)
  417.     (This)->lpVtbl -> Delete(This,cchOffset,cchDelete)
  418. #endif /* COBJMACROS */
  419. #endif  /* C style interface */
  420. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_GetStatus_Proxy( 
  421.     IMLangStringBufA * This,
  422.     /* [out] */ long *plFlags,
  423.     /* [out] */ long *pcchBuf);
  424. void __RPC_STUB IMLangStringBufA_GetStatus_Stub(
  425.     IRpcStubBuffer *This,
  426.     IRpcChannelBuffer *_pRpcChannelBuffer,
  427.     PRPC_MESSAGE _pRpcMessage,
  428.     DWORD *_pdwStubPhase);
  429. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_LockBuf_Proxy( 
  430.     IMLangStringBufA * This,
  431.     /* [in] */ long cchOffset,
  432.     /* [in] */ long cchMaxLock,
  433.     /* [size_is][size_is][out] */ CHAR **ppszBuf,
  434.     /* [out] */ long *pcchBuf);
  435. void __RPC_STUB IMLangStringBufA_LockBuf_Stub(
  436.     IRpcStubBuffer *This,
  437.     IRpcChannelBuffer *_pRpcChannelBuffer,
  438.     PRPC_MESSAGE _pRpcMessage,
  439.     DWORD *_pdwStubPhase);
  440. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_UnlockBuf_Proxy( 
  441.     IMLangStringBufA * This,
  442.     /* [size_is][in] */ const CHAR *pszBuf,
  443.     /* [in] */ long cchOffset,
  444.     /* [in] */ long cchWrite);
  445. void __RPC_STUB IMLangStringBufA_UnlockBuf_Stub(
  446.     IRpcStubBuffer *This,
  447.     IRpcChannelBuffer *_pRpcChannelBuffer,
  448.     PRPC_MESSAGE _pRpcMessage,
  449.     DWORD *_pdwStubPhase);
  450. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_Insert_Proxy( 
  451.     IMLangStringBufA * This,
  452.     /* [in] */ long cchOffset,
  453.     /* [in] */ long cchMaxInsert,
  454.     /* [out] */ long *pcchActual);
  455. void __RPC_STUB IMLangStringBufA_Insert_Stub(
  456.     IRpcStubBuffer *This,
  457.     IRpcChannelBuffer *_pRpcChannelBuffer,
  458.     PRPC_MESSAGE _pRpcMessage,
  459.     DWORD *_pdwStubPhase);
  460. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_Delete_Proxy( 
  461.     IMLangStringBufA * This,
  462.     /* [in] */ long cchOffset,
  463.     /* [in] */ long cchDelete);
  464. void __RPC_STUB IMLangStringBufA_Delete_Stub(
  465.     IRpcStubBuffer *This,
  466.     IRpcChannelBuffer *_pRpcChannelBuffer,
  467.     PRPC_MESSAGE _pRpcMessage,
  468.     DWORD *_pdwStubPhase);
  469. #endif  /* __IMLangStringBufA_INTERFACE_DEFINED__ */
  470. #ifndef __IMLangString_INTERFACE_DEFINED__
  471. #define __IMLangString_INTERFACE_DEFINED__
  472. /* interface IMLangString */
  473. /* [object][unique][helpstring][uuid] */ 
  474. EXTERN_C const IID IID_IMLangString;
  475. #if defined(__cplusplus) && !defined(CINTERFACE)
  476.     
  477.     MIDL_INTERFACE("C04D65CE-B70D-11D0-B188-00AA0038C969")
  478.     IMLangString : public IUnknown
  479.     {
  480.     public:
  481.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Sync( 
  482.             /* [in] */ BOOL fNoAccess) = 0;
  483.         
  484.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLength( 
  485.             /* [retval][out] */ long *plLen) = 0;
  486.         
  487.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetMLStr( 
  488.             /* [in] */ long lDestPos,
  489.             /* [in] */ long lDestLen,
  490.             /* [in] */ IUnknown *pSrcMLStr,
  491.             /* [in] */ long lSrcPos,
  492.             /* [in] */ long lSrcLen) = 0;
  493.         
  494.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMLStr( 
  495.             /* [in] */ long lSrcPos,
  496.             /* [in] */ long lSrcLen,
  497.             /* [in] */ IUnknown *pUnkOuter,
  498.             /* [in] */ DWORD dwClsContext,
  499.             /* [in] */ const IID *piid,
  500.             /* [out] */ IUnknown **ppDestMLStr,
  501.             /* [out] */ long *plDestPos,
  502.             /* [out] */ long *plDestLen) = 0;
  503.         
  504.     };
  505.     
  506. #else  /* C style interface */
  507.     typedef struct IMLangStringVtbl
  508.     {
  509.         BEGIN_INTERFACE
  510.         
  511.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  512.             IMLangString * This,
  513.             /* [in] */ REFIID riid,
  514.             /* [iid_is][out] */ void **ppvObject);
  515.         
  516.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  517.             IMLangString * This);
  518.         
  519.         ULONG ( STDMETHODCALLTYPE *Release )( 
  520.             IMLangString * This);
  521.         
  522.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sync )( 
  523.             IMLangString * This,
  524.             /* [in] */ BOOL fNoAccess);
  525.         
  526.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )( 
  527.             IMLangString * This,
  528.             /* [retval][out] */ long *plLen);
  529.         
  530.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMLStr )( 
  531.             IMLangString * This,
  532.             /* [in] */ long lDestPos,
  533.             /* [in] */ long lDestLen,
  534.             /* [in] */ IUnknown *pSrcMLStr,
  535.             /* [in] */ long lSrcPos,
  536.             /* [in] */ long lSrcLen);
  537.         
  538.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMLStr )( 
  539.             IMLangString * This,
  540.             /* [in] */ long lSrcPos,
  541.             /* [in] */ long lSrcLen,
  542.             /* [in] */ IUnknown *pUnkOuter,
  543.             /* [in] */ DWORD dwClsContext,
  544.             /* [in] */ const IID *piid,
  545.             /* [out] */ IUnknown **ppDestMLStr,
  546.             /* [out] */ long *plDestPos,
  547.             /* [out] */ long *plDestLen);
  548.         
  549.         END_INTERFACE
  550.     } IMLangStringVtbl;
  551.     interface IMLangString
  552.     {
  553.         CONST_VTBL struct IMLangStringVtbl *lpVtbl;
  554.     };
  555.     
  556. #ifdef COBJMACROS
  557. #define IMLangString_QueryInterface(This,riid,ppvObject)
  558.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  559. #define IMLangString_AddRef(This)
  560.     (This)->lpVtbl -> AddRef(This)
  561. #define IMLangString_Release(This)
  562.     (This)->lpVtbl -> Release(This)
  563. #define IMLangString_Sync(This,fNoAccess)
  564.     (This)->lpVtbl -> Sync(This,fNoAccess)
  565. #define IMLangString_GetLength(This,plLen)
  566.     (This)->lpVtbl -> GetLength(This,plLen)
  567. #define IMLangString_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
  568.     (This)->lpVtbl -> SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
  569. #define IMLangString_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
  570.     (This)->lpVtbl -> GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
  571. #endif /* COBJMACROS */
  572. #endif  /* C style interface */
  573. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_Sync_Proxy( 
  574.     IMLangString * This,
  575.     /* [in] */ BOOL fNoAccess);
  576. void __RPC_STUB IMLangString_Sync_Stub(
  577.     IRpcStubBuffer *This,
  578.     IRpcChannelBuffer *_pRpcChannelBuffer,
  579.     PRPC_MESSAGE _pRpcMessage,
  580.     DWORD *_pdwStubPhase);
  581. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_GetLength_Proxy( 
  582.     IMLangString * This,
  583.     /* [retval][out] */ long *plLen);
  584. void __RPC_STUB IMLangString_GetLength_Stub(
  585.     IRpcStubBuffer *This,
  586.     IRpcChannelBuffer *_pRpcChannelBuffer,
  587.     PRPC_MESSAGE _pRpcMessage,
  588.     DWORD *_pdwStubPhase);
  589. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_SetMLStr_Proxy( 
  590.     IMLangString * This,
  591.     /* [in] */ long lDestPos,
  592.     /* [in] */ long lDestLen,
  593.     /* [in] */ IUnknown *pSrcMLStr,
  594.     /* [in] */ long lSrcPos,
  595.     /* [in] */ long lSrcLen);
  596. void __RPC_STUB IMLangString_SetMLStr_Stub(
  597.     IRpcStubBuffer *This,
  598.     IRpcChannelBuffer *_pRpcChannelBuffer,
  599.     PRPC_MESSAGE _pRpcMessage,
  600.     DWORD *_pdwStubPhase);
  601. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_GetMLStr_Proxy( 
  602.     IMLangString * This,
  603.     /* [in] */ long lSrcPos,
  604.     /* [in] */ long lSrcLen,
  605.     /* [in] */ IUnknown *pUnkOuter,
  606.     /* [in] */ DWORD dwClsContext,
  607.     /* [in] */ const IID *piid,
  608.     /* [out] */ IUnknown **ppDestMLStr,
  609.     /* [out] */ long *plDestPos,
  610.     /* [out] */ long *plDestLen);
  611. void __RPC_STUB IMLangString_GetMLStr_Stub(
  612.     IRpcStubBuffer *This,
  613.     IRpcChannelBuffer *_pRpcChannelBuffer,
  614.     PRPC_MESSAGE _pRpcMessage,
  615.     DWORD *_pdwStubPhase);
  616. #endif  /* __IMLangString_INTERFACE_DEFINED__ */
  617. #ifndef __IMLangStringWStr_INTERFACE_DEFINED__
  618. #define __IMLangStringWStr_INTERFACE_DEFINED__
  619. /* interface IMLangStringWStr */
  620. /* [object][unique][helpstring][uuid] */ 
  621. EXTERN_C const IID IID_IMLangStringWStr;
  622. #if defined(__cplusplus) && !defined(CINTERFACE)
  623.     
  624.     MIDL_INTERFACE("C04D65D0-B70D-11D0-B188-00AA0038C969")
  625.     IMLangStringWStr : public IMLangString
  626.     {
  627.     public:
  628.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetWStr( 
  629.             /* [in] */ long lDestPos,
  630.             /* [in] */ long lDestLen,
  631.             /* [size_is][in] */ const WCHAR *pszSrc,
  632.             /* [in] */ long cchSrc,
  633.             /* [out] */ long *pcchActual,
  634.             /* [out] */ long *plActualLen) = 0;
  635.         
  636.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStrBufW( 
  637.             /* [in] */ long lDestPos,
  638.             /* [in] */ long lDestLen,
  639.             /* [in] */ IMLangStringBufW *pSrcBuf,
  640.             /* [out] */ long *pcchActual,
  641.             /* [out] */ long *plActualLen) = 0;
  642.         
  643.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetWStr( 
  644.             /* [in] */ long lSrcPos,
  645.             /* [in] */ long lSrcLen,
  646.             /* [size_is][out] */ WCHAR *pszDest,
  647.             /* [in] */ long cchDest,
  648.             /* [out] */ long *pcchActual,
  649.             /* [out] */ long *plActualLen) = 0;
  650.         
  651.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStrBufW( 
  652.             /* [in] */ long lSrcPos,
  653.             /* [in] */ long lSrcMaxLen,
  654.             /* [out] */ IMLangStringBufW **ppDestBuf,
  655.             /* [out] */ long *plDestLen) = 0;
  656.         
  657.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockWStr( 
  658.             /* [in] */ long lSrcPos,
  659.             /* [in] */ long lSrcLen,
  660.             /* [in] */ long lFlags,
  661.             /* [in] */ long cchRequest,
  662.             /* [size_is][size_is][out] */ WCHAR **ppszDest,
  663.             /* [out] */ long *pcchDest,
  664.             /* [out] */ long *plDestLen) = 0;
  665.         
  666.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockWStr( 
  667.             /* [size_is][in] */ const WCHAR *pszSrc,
  668.             /* [in] */ long cchSrc,
  669.             /* [out] */ long *pcchActual,
  670.             /* [out] */ long *plActualLen) = 0;
  671.         
  672.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLocale( 
  673.             /* [in] */ long lDestPos,
  674.             /* [in] */ long lDestLen,
  675.             /* [in] */ LCID locale) = 0;
  676.         
  677.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLocale( 
  678.             /* [in] */ long lSrcPos,
  679.             /* [in] */ long lSrcMaxLen,
  680.             /* [out] */ LCID *plocale,
  681.             /* [out] */ long *plLocalePos,
  682.             /* [out] */ long *plLocaleLen) = 0;
  683.         
  684.     };
  685.     
  686. #else  /* C style interface */
  687.     typedef struct IMLangStringWStrVtbl
  688.     {
  689.         BEGIN_INTERFACE
  690.         
  691.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  692.             IMLangStringWStr * This,
  693.             /* [in] */ REFIID riid,
  694.             /* [iid_is][out] */ void **ppvObject);
  695.         
  696.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  697.             IMLangStringWStr * This);
  698.         
  699.         ULONG ( STDMETHODCALLTYPE *Release )( 
  700.             IMLangStringWStr * This);
  701.         
  702.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sync )( 
  703.             IMLangStringWStr * This,
  704.             /* [in] */ BOOL fNoAccess);
  705.         
  706.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )( 
  707.             IMLangStringWStr * This,
  708.             /* [retval][out] */ long *plLen);
  709.         
  710.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMLStr )( 
  711.             IMLangStringWStr * This,
  712.             /* [in] */ long lDestPos,
  713.             /* [in] */ long lDestLen,
  714.             /* [in] */ IUnknown *pSrcMLStr,
  715.             /* [in] */ long lSrcPos,
  716.             /* [in] */ long lSrcLen);
  717.         
  718.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMLStr )( 
  719.             IMLangStringWStr * This,
  720.             /* [in] */ long lSrcPos,
  721.             /* [in] */ long lSrcLen,
  722.             /* [in] */ IUnknown *pUnkOuter,
  723.             /* [in] */ DWORD dwClsContext,
  724.             /* [in] */ const IID *piid,
  725.             /* [out] */ IUnknown **ppDestMLStr,
  726.             /* [out] */ long *plDestPos,
  727.             /* [out] */ long *plDestLen);
  728.         
  729.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetWStr )( 
  730.             IMLangStringWStr * This,
  731.             /* [in] */ long lDestPos,
  732.             /* [in] */ long lDestLen,
  733.             /* [size_is][in] */ const WCHAR *pszSrc,
  734.             /* [in] */ long cchSrc,
  735.             /* [out] */ long *pcchActual,
  736.             /* [out] */ long *plActualLen);
  737.         
  738.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStrBufW )( 
  739.             IMLangStringWStr * This,
  740.             /* [in] */ long lDestPos,
  741.             /* [in] */ long lDestLen,
  742.             /* [in] */ IMLangStringBufW *pSrcBuf,
  743.             /* [out] */ long *pcchActual,
  744.             /* [out] */ long *plActualLen);
  745.         
  746.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetWStr )( 
  747.             IMLangStringWStr * This,
  748.             /* [in] */ long lSrcPos,
  749.             /* [in] */ long lSrcLen,
  750.             /* [size_is][out] */ WCHAR *pszDest,
  751.             /* [in] */ long cchDest,
  752.             /* [out] */ long *pcchActual,
  753.             /* [out] */ long *plActualLen);
  754.         
  755.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStrBufW )( 
  756.             IMLangStringWStr * This,
  757.             /* [in] */ long lSrcPos,
  758.             /* [in] */ long lSrcMaxLen,
  759.             /* [out] */ IMLangStringBufW **ppDestBuf,
  760.             /* [out] */ long *plDestLen);
  761.         
  762.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockWStr )( 
  763.             IMLangStringWStr * This,
  764.             /* [in] */ long lSrcPos,
  765.             /* [in] */ long lSrcLen,
  766.             /* [in] */ long lFlags,
  767.             /* [in] */ long cchRequest,
  768.             /* [size_is][size_is][out] */ WCHAR **ppszDest,
  769.             /* [out] */ long *pcchDest,
  770.             /* [out] */ long *plDestLen);
  771.         
  772.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockWStr )( 
  773.             IMLangStringWStr * This,
  774.             /* [size_is][in] */ const WCHAR *pszSrc,
  775.             /* [in] */ long cchSrc,
  776.             /* [out] */ long *pcchActual,
  777.             /* [out] */ long *plActualLen);
  778.         
  779.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLocale )( 
  780.             IMLangStringWStr * This,
  781.             /* [in] */ long lDestPos,
  782.             /* [in] */ long lDestLen,
  783.             /* [in] */ LCID locale);
  784.         
  785.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLocale )( 
  786.             IMLangStringWStr * This,
  787.             /* [in] */ long lSrcPos,
  788.             /* [in] */ long lSrcMaxLen,
  789.             /* [out] */ LCID *plocale,
  790.             /* [out] */ long *plLocalePos,
  791.             /* [out] */ long *plLocaleLen);
  792.         
  793.         END_INTERFACE
  794.     } IMLangStringWStrVtbl;
  795.     interface IMLangStringWStr
  796.     {
  797.         CONST_VTBL struct IMLangStringWStrVtbl *lpVtbl;
  798.     };
  799.     
  800. #ifdef COBJMACROS
  801. #define IMLangStringWStr_QueryInterface(This,riid,ppvObject)
  802.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  803. #define IMLangStringWStr_AddRef(This)
  804.     (This)->lpVtbl -> AddRef(This)
  805. #define IMLangStringWStr_Release(This)
  806.     (This)->lpVtbl -> Release(This)
  807. #define IMLangStringWStr_Sync(This,fNoAccess)
  808.     (This)->lpVtbl -> Sync(This,fNoAccess)
  809. #define IMLangStringWStr_GetLength(This,plLen)
  810.     (This)->lpVtbl -> GetLength(This,plLen)
  811. #define IMLangStringWStr_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
  812.     (This)->lpVtbl -> SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
  813. #define IMLangStringWStr_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
  814.     (This)->lpVtbl -> GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
  815. #define IMLangStringWStr_SetWStr(This,lDestPos,lDestLen,pszSrc,cchSrc,pcchActual,plActualLen)
  816.     (This)->lpVtbl -> SetWStr(This,lDestPos,lDestLen,pszSrc,cchSrc,pcchActual,plActualLen)
  817. #define IMLangStringWStr_SetStrBufW(This,lDestPos,lDestLen,pSrcBuf,pcchActual,plActualLen)
  818.     (This)->lpVtbl -> SetStrBufW(This,lDestPos,lDestLen,pSrcBuf,pcchActual,plActualLen)
  819. #define IMLangStringWStr_GetWStr(This,lSrcPos,lSrcLen,pszDest,cchDest,pcchActual,plActualLen)
  820.     (This)->lpVtbl -> GetWStr(This,lSrcPos,lSrcLen,pszDest,cchDest,pcchActual,plActualLen)
  821. #define IMLangStringWStr_GetStrBufW(This,lSrcPos,lSrcMaxLen,ppDestBuf,plDestLen)
  822.     (This)->lpVtbl -> GetStrBufW(This,lSrcPos,lSrcMaxLen,ppDestBuf,plDestLen)
  823. #define IMLangStringWStr_LockWStr(This,lSrcPos,lSrcLen,lFlags,cchRequest,ppszDest,pcchDest,plDestLen)
  824.     (This)->lpVtbl -> LockWStr(This,lSrcPos,lSrcLen,lFlags,cchRequest,ppszDest,pcchDest,plDestLen)
  825. #define IMLangStringWStr_UnlockWStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
  826.     (This)->lpVtbl -> UnlockWStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
  827. #define IMLangStringWStr_SetLocale(This,lDestPos,lDestLen,locale)
  828.     (This)->lpVtbl -> SetLocale(This,lDestPos,lDestLen,locale)
  829. #define IMLangStringWStr_GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
  830.     (This)->lpVtbl -> GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
  831. #endif /* COBJMACROS */
  832. #endif  /* C style interface */
  833. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_SetWStr_Proxy( 
  834.     IMLangStringWStr * This,
  835.     /* [in] */ long lDestPos,
  836.     /* [in] */ long lDestLen,
  837.     /* [size_is][in] */ const WCHAR *pszSrc,
  838.     /* [in] */ long cchSrc,
  839.     /* [out] */ long *pcchActual,
  840.     /* [out] */ long *plActualLen);
  841. void __RPC_STUB IMLangStringWStr_SetWStr_Stub(
  842.     IRpcStubBuffer *This,
  843.     IRpcChannelBuffer *_pRpcChannelBuffer,
  844.     PRPC_MESSAGE _pRpcMessage,
  845.     DWORD *_pdwStubPhase);
  846. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_SetStrBufW_Proxy( 
  847.     IMLangStringWStr * This,
  848.     /* [in] */ long lDestPos,
  849.     /* [in] */ long lDestLen,
  850.     /* [in] */ IMLangStringBufW *pSrcBuf,
  851.     /* [out] */ long *pcchActual,
  852.     /* [out] */ long *plActualLen);
  853. void __RPC_STUB IMLangStringWStr_SetStrBufW_Stub(
  854.     IRpcStubBuffer *This,
  855.     IRpcChannelBuffer *_pRpcChannelBuffer,
  856.     PRPC_MESSAGE _pRpcMessage,
  857.     DWORD *_pdwStubPhase);
  858. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_GetWStr_Proxy( 
  859.     IMLangStringWStr * This,
  860.     /* [in] */ long lSrcPos,
  861.     /* [in] */ long lSrcLen,
  862.     /* [size_is][out] */ WCHAR *pszDest,
  863.     /* [in] */ long cchDest,
  864.     /* [out] */ long *pcchActual,
  865.     /* [out] */ long *plActualLen);
  866. void __RPC_STUB IMLangStringWStr_GetWStr_Stub(
  867.     IRpcStubBuffer *This,
  868.     IRpcChannelBuffer *_pRpcChannelBuffer,
  869.     PRPC_MESSAGE _pRpcMessage,
  870.     DWORD *_pdwStubPhase);
  871. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_GetStrBufW_Proxy( 
  872.     IMLangStringWStr * This,
  873.     /* [in] */ long lSrcPos,
  874.     /* [in] */ long lSrcMaxLen,
  875.     /* [out] */ IMLangStringBufW **ppDestBuf,
  876.     /* [out] */ long *plDestLen);
  877. void __RPC_STUB IMLangStringWStr_GetStrBufW_Stub(
  878.     IRpcStubBuffer *This,
  879.     IRpcChannelBuffer *_pRpcChannelBuffer,
  880.     PRPC_MESSAGE _pRpcMessage,
  881.     DWORD *_pdwStubPhase);
  882. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_LockWStr_Proxy( 
  883.     IMLangStringWStr * This,
  884.     /* [in] */ long lSrcPos,
  885.     /* [in] */ long lSrcLen,
  886.     /* [in] */ long lFlags,
  887.     /* [in] */ long cchRequest,
  888.     /* [size_is][size_is][out] */ WCHAR **ppszDest,
  889.     /* [out] */ long *pcchDest,
  890.     /* [out] */ long *plDestLen);
  891. void __RPC_STUB IMLangStringWStr_LockWStr_Stub(
  892.     IRpcStubBuffer *This,
  893.     IRpcChannelBuffer *_pRpcChannelBuffer,
  894.     PRPC_MESSAGE _pRpcMessage,
  895.     DWORD *_pdwStubPhase);
  896. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_UnlockWStr_Proxy( 
  897.     IMLangStringWStr * This,
  898.     /* [size_is][in] */ const WCHAR *pszSrc,
  899.     /* [in] */ long cchSrc,
  900.     /* [out] */ long *pcchActual,
  901.     /* [out] */ long *plActualLen);
  902. void __RPC_STUB IMLangStringWStr_UnlockWStr_Stub(
  903.     IRpcStubBuffer *This,
  904.     IRpcChannelBuffer *_pRpcChannelBuffer,
  905.     PRPC_MESSAGE _pRpcMessage,
  906.     DWORD *_pdwStubPhase);
  907. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_SetLocale_Proxy( 
  908.     IMLangStringWStr * This,
  909.     /* [in] */ long lDestPos,
  910.     /* [in] */ long lDestLen,
  911.     /* [in] */ LCID locale);
  912. void __RPC_STUB IMLangStringWStr_SetLocale_Stub(
  913.     IRpcStubBuffer *This,
  914.     IRpcChannelBuffer *_pRpcChannelBuffer,
  915.     PRPC_MESSAGE _pRpcMessage,
  916.     DWORD *_pdwStubPhase);
  917. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_GetLocale_Proxy( 
  918.     IMLangStringWStr * This,
  919.     /* [in] */ long lSrcPos,
  920.     /* [in] */ long lSrcMaxLen,
  921.     /* [out] */ LCID *plocale,
  922.     /* [out] */ long *plLocalePos,
  923.     /* [out] */ long *plLocaleLen);
  924. void __RPC_STUB IMLangStringWStr_GetLocale_Stub(
  925.     IRpcStubBuffer *This,
  926.     IRpcChannelBuffer *_pRpcChannelBuffer,
  927.     PRPC_MESSAGE _pRpcMessage,
  928.     DWORD *_pdwStubPhase);
  929. #endif  /* __IMLangStringWStr_INTERFACE_DEFINED__ */
  930. #ifndef __IMLangStringAStr_INTERFACE_DEFINED__
  931. #define __IMLangStringAStr_INTERFACE_DEFINED__
  932. /* interface IMLangStringAStr */
  933. /* [object][unique][helpstring][uuid] */ 
  934. EXTERN_C const IID IID_IMLangStringAStr;
  935. #if defined(__cplusplus) && !defined(CINTERFACE)
  936.     
  937.     MIDL_INTERFACE("C04D65D2-B70D-11D0-B188-00AA0038C969")
  938.     IMLangStringAStr : public IMLangString
  939.     {
  940.     public:
  941.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAStr( 
  942.             /* [in] */ long lDestPos,
  943.             /* [in] */ long lDestLen,
  944.             /* [in] */ UINT uCodePage,
  945.             /* [size_is][in] */ const CHAR *pszSrc,
  946.             /* [in] */ long cchSrc,
  947.             /* [out] */ long *pcchActual,
  948.             /* [out] */ long *plActualLen) = 0;
  949.         
  950.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStrBufA( 
  951.             /* [in] */ long lDestPos,
  952.             /* [in] */ long lDestLen,
  953.             /* [in] */ UINT uCodePage,
  954.             /* [in] */ IMLangStringBufA *pSrcBuf,
  955.             /* [out] */ long *pcchActual,
  956.             /* [out] */ long *plActualLen) = 0;
  957.         
  958.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAStr( 
  959.             /* [in] */ long lSrcPos,
  960.             /* [in] */ long lSrcLen,
  961.             /* [in] */ UINT uCodePageIn,
  962.             /* [out] */ UINT *puCodePageOut,
  963.             /* [size_is][out] */ CHAR *pszDest,
  964.             /* [in] */ long cchDest,
  965.             /* [out] */ long *pcchActual,
  966.             /* [out] */ long *plActualLen) = 0;
  967.         
  968.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStrBufA( 
  969.             /* [in] */ long lSrcPos,
  970.             /* [in] */ long lSrcMaxLen,
  971.             /* [out] */ UINT *puDestCodePage,
  972.             /* [out] */ IMLangStringBufA **ppDestBuf,
  973.             /* [out] */ long *plDestLen) = 0;
  974.         
  975.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockAStr( 
  976.             /* [in] */ long lSrcPos,
  977.             /* [in] */ long lSrcLen,
  978.             /* [in] */ long lFlags,
  979.             /* [in] */ UINT uCodePageIn,
  980.             /* [in] */ long cchRequest,
  981.             /* [out] */ UINT *puCodePageOut,
  982.             /* [size_is][size_is][out] */ CHAR **ppszDest,
  983.             /* [out] */ long *pcchDest,
  984.             /* [out] */ long *plDestLen) = 0;
  985.         
  986.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockAStr( 
  987.             /* [size_is][in] */ const CHAR *pszSrc,
  988.             /* [in] */ long cchSrc,
  989.             /* [out] */ long *pcchActual,
  990.             /* [out] */ long *plActualLen) = 0;
  991.         
  992.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLocale( 
  993.             /* [in] */ long lDestPos,
  994.             /* [in] */ long lDestLen,
  995.             /* [in] */ LCID locale) = 0;
  996.         
  997.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLocale( 
  998.             /* [in] */ long lSrcPos,
  999.             /* [in] */ long lSrcMaxLen,
  1000.             /* [out] */ LCID *plocale,
  1001.             /* [out] */ long *plLocalePos,
  1002.             /* [out] */ long *plLocaleLen) = 0;
  1003.         
  1004.     };
  1005.     
  1006. #else  /* C style interface */
  1007.     typedef struct IMLangStringAStrVtbl
  1008.     {
  1009.         BEGIN_INTERFACE
  1010.         
  1011.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1012.             IMLangStringAStr * This,
  1013.             /* [in] */ REFIID riid,
  1014.             /* [iid_is][out] */ void **ppvObject);
  1015.         
  1016.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1017.             IMLangStringAStr * This);
  1018.         
  1019.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1020.             IMLangStringAStr * This);
  1021.         
  1022.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sync )( 
  1023.             IMLangStringAStr * This,
  1024.             /* [in] */ BOOL fNoAccess);
  1025.         
  1026.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )( 
  1027.             IMLangStringAStr * This,
  1028.             /* [retval][out] */ long *plLen);
  1029.         
  1030.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMLStr )( 
  1031.             IMLangStringAStr * This,
  1032.             /* [in] */ long lDestPos,
  1033.             /* [in] */ long lDestLen,
  1034.             /* [in] */ IUnknown *pSrcMLStr,
  1035.             /* [in] */ long lSrcPos,
  1036.             /* [in] */ long lSrcLen);
  1037.         
  1038.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMLStr )( 
  1039.             IMLangStringAStr * This,
  1040.             /* [in] */ long lSrcPos,
  1041.             /* [in] */ long lSrcLen,
  1042.             /* [in] */ IUnknown *pUnkOuter,
  1043.             /* [in] */ DWORD dwClsContext,
  1044.             /* [in] */ const IID *piid,
  1045.             /* [out] */ IUnknown **ppDestMLStr,
  1046.             /* [out] */ long *plDestPos,
  1047.             /* [out] */ long *plDestLen);
  1048.         
  1049.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetAStr )( 
  1050.             IMLangStringAStr * This,
  1051.             /* [in] */ long lDestPos,
  1052.             /* [in] */ long lDestLen,
  1053.             /* [in] */ UINT uCodePage,
  1054.             /* [size_is][in] */ const CHAR *pszSrc,
  1055.             /* [in] */ long cchSrc,
  1056.             /* [out] */ long *pcchActual,
  1057.             /* [out] */ long *plActualLen);
  1058.         
  1059.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStrBufA )( 
  1060.             IMLangStringAStr * This,
  1061.             /* [in] */ long lDestPos,
  1062.             /* [in] */ long lDestLen,
  1063.             /* [in] */ UINT uCodePage,
  1064.             /* [in] */ IMLangStringBufA *pSrcBuf,
  1065.             /* [out] */ long *pcchActual,
  1066.             /* [out] */ long *plActualLen);
  1067.         
  1068.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAStr )( 
  1069.             IMLangStringAStr * This,
  1070.             /* [in] */ long lSrcPos,
  1071.             /* [in] */ long lSrcLen,
  1072.             /* [in] */ UINT uCodePageIn,
  1073.             /* [out] */ UINT *puCodePageOut,
  1074.             /* [size_is][out] */ CHAR *pszDest,
  1075.             /* [in] */ long cchDest,
  1076.             /* [out] */ long *pcchActual,
  1077.             /* [out] */ long *plActualLen);
  1078.         
  1079.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStrBufA )( 
  1080.             IMLangStringAStr * This,
  1081.             /* [in] */ long lSrcPos,
  1082.             /* [in] */ long lSrcMaxLen,
  1083.             /* [out] */ UINT *puDestCodePage,
  1084.             /* [out] */ IMLangStringBufA **ppDestBuf,
  1085.             /* [out] */ long *plDestLen);
  1086.         
  1087.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockAStr )( 
  1088.             IMLangStringAStr * This,
  1089.             /* [in] */ long lSrcPos,
  1090.             /* [in] */ long lSrcLen,
  1091.             /* [in] */ long lFlags,
  1092.             /* [in] */ UINT uCodePageIn,
  1093.             /* [in] */ long cchRequest,
  1094.             /* [out] */ UINT *puCodePageOut,
  1095.             /* [size_is][size_is][out] */ CHAR **ppszDest,
  1096.             /* [out] */ long *pcchDest,
  1097.             /* [out] */ long *plDestLen);
  1098.         
  1099.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockAStr )( 
  1100.             IMLangStringAStr * This,
  1101.             /* [size_is][in] */ const CHAR *pszSrc,
  1102.             /* [in] */ long cchSrc,
  1103.             /* [out] */ long *pcchActual,
  1104.             /* [out] */ long *plActualLen);
  1105.         
  1106.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLocale )( 
  1107.             IMLangStringAStr * This,
  1108.             /* [in] */ long lDestPos,
  1109.             /* [in] */ long lDestLen,
  1110.             /* [in] */ LCID locale);
  1111.         
  1112.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLocale )( 
  1113.             IMLangStringAStr * This,
  1114.             /* [in] */ long lSrcPos,
  1115.             /* [in] */ long lSrcMaxLen,
  1116.             /* [out] */ LCID *plocale,
  1117.             /* [out] */ long *plLocalePos,
  1118.             /* [out] */ long *plLocaleLen);
  1119.         
  1120.         END_INTERFACE
  1121.     } IMLangStringAStrVtbl;
  1122.     interface IMLangStringAStr
  1123.     {
  1124.         CONST_VTBL struct IMLangStringAStrVtbl *lpVtbl;
  1125.     };
  1126.     
  1127. #ifdef COBJMACROS
  1128. #define IMLangStringAStr_QueryInterface(This,riid,ppvObject)
  1129.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1130. #define IMLangStringAStr_AddRef(This)
  1131.     (This)->lpVtbl -> AddRef(This)
  1132. #define IMLangStringAStr_Release(This)
  1133.     (This)->lpVtbl -> Release(This)
  1134. #define IMLangStringAStr_Sync(This,fNoAccess)
  1135.     (This)->lpVtbl -> Sync(This,fNoAccess)
  1136. #define IMLangStringAStr_GetLength(This,plLen)
  1137.     (This)->lpVtbl -> GetLength(This,plLen)
  1138. #define IMLangStringAStr_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
  1139.     (This)->lpVtbl -> SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
  1140. #define IMLangStringAStr_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
  1141.     (This)->lpVtbl -> GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
  1142. #define IMLangStringAStr_SetAStr(This,lDestPos,lDestLen,uCodePage,pszSrc,cchSrc,pcchActual,plActualLen)
  1143.     (This)->lpVtbl -> SetAStr(This,lDestPos,lDestLen,uCodePage,pszSrc,cchSrc,pcchActual,plActualLen)
  1144. #define IMLangStringAStr_SetStrBufA(This,lDestPos,lDestLen,uCodePage,pSrcBuf,pcchActual,plActualLen)
  1145.     (This)->lpVtbl -> SetStrBufA(This,lDestPos,lDestLen,uCodePage,pSrcBuf,pcchActual,plActualLen)
  1146. #define IMLangStringAStr_GetAStr(This,lSrcPos,lSrcLen,uCodePageIn,puCodePageOut,pszDest,cchDest,pcchActual,plActualLen)
  1147.     (This)->lpVtbl -> GetAStr(This,lSrcPos,lSrcLen,uCodePageIn,puCodePageOut,pszDest,cchDest,pcchActual,plActualLen)
  1148. #define IMLangStringAStr_GetStrBufA(This,lSrcPos,lSrcMaxLen,puDestCodePage,ppDestBuf,plDestLen)
  1149.     (This)->lpVtbl -> GetStrBufA(This,lSrcPos,lSrcMaxLen,puDestCodePage,ppDestBuf,plDestLen)
  1150. #define IMLangStringAStr_LockAStr(This,lSrcPos,lSrcLen,lFlags,uCodePageIn,cchRequest,puCodePageOut,ppszDest,pcchDest,plDestLen)
  1151.     (This)->lpVtbl -> LockAStr(This,lSrcPos,lSrcLen,lFlags,uCodePageIn,cchRequest,puCodePageOut,ppszDest,pcchDest,plDestLen)
  1152. #define IMLangStringAStr_UnlockAStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
  1153.     (This)->lpVtbl -> UnlockAStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
  1154. #define IMLangStringAStr_SetLocale(This,lDestPos,lDestLen,locale)
  1155.     (This)->lpVtbl -> SetLocale(This,lDestPos,lDestLen,locale)
  1156. #define IMLangStringAStr_GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
  1157.     (This)->lpVtbl -> GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
  1158. #endif /* COBJMACROS */
  1159. #endif  /* C style interface */
  1160. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_SetAStr_Proxy( 
  1161.     IMLangStringAStr * This,
  1162.     /* [in] */ long lDestPos,
  1163.     /* [in] */ long lDestLen,
  1164.     /* [in] */ UINT uCodePage,
  1165.     /* [size_is][in] */ const CHAR *pszSrc,
  1166.     /* [in] */ long cchSrc,
  1167.     /* [out] */ long *pcchActual,
  1168.     /* [out] */ long *plActualLen);
  1169. void __RPC_STUB IMLangStringAStr_SetAStr_Stub(
  1170.     IRpcStubBuffer *This,
  1171.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1172.     PRPC_MESSAGE _pRpcMessage,
  1173.     DWORD *_pdwStubPhase);
  1174. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_SetStrBufA_Proxy( 
  1175.     IMLangStringAStr * This,
  1176.     /* [in] */ long lDestPos,
  1177.     /* [in] */ long lDestLen,
  1178.     /* [in] */ UINT uCodePage,
  1179.     /* [in] */ IMLangStringBufA *pSrcBuf,
  1180.     /* [out] */ long *pcchActual,
  1181.     /* [out] */ long *plActualLen);
  1182. void __RPC_STUB IMLangStringAStr_SetStrBufA_Stub(
  1183.     IRpcStubBuffer *This,
  1184.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1185.     PRPC_MESSAGE _pRpcMessage,
  1186.     DWORD *_pdwStubPhase);
  1187. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_GetAStr_Proxy( 
  1188.     IMLangStringAStr * This,
  1189.     /* [in] */ long lSrcPos,
  1190.     /* [in] */ long lSrcLen,
  1191.     /* [in] */ UINT uCodePageIn,
  1192.     /* [out] */ UINT *puCodePageOut,
  1193.     /* [size_is][out] */ CHAR *pszDest,
  1194.     /* [in] */ long cchDest,
  1195.     /* [out] */ long *pcchActual,
  1196.     /* [out] */ long *plActualLen);
  1197. void __RPC_STUB IMLangStringAStr_GetAStr_Stub(
  1198.     IRpcStubBuffer *This,
  1199.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1200.     PRPC_MESSAGE _pRpcMessage,
  1201.     DWORD *_pdwStubPhase);
  1202. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_GetStrBufA_Proxy( 
  1203.     IMLangStringAStr * This,
  1204.     /* [in] */ long lSrcPos,
  1205.     /* [in] */ long lSrcMaxLen,
  1206.     /* [out] */ UINT *puDestCodePage,
  1207.     /* [out] */ IMLangStringBufA **ppDestBuf,
  1208.     /* [out] */ long *plDestLen);
  1209. void __RPC_STUB IMLangStringAStr_GetStrBufA_Stub(
  1210.     IRpcStubBuffer *This,
  1211.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1212.     PRPC_MESSAGE _pRpcMessage,
  1213.     DWORD *_pdwStubPhase);
  1214. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_LockAStr_Proxy( 
  1215.     IMLangStringAStr * This,
  1216.     /* [in] */ long lSrcPos,
  1217.     /* [in] */ long lSrcLen,
  1218.     /* [in] */ long lFlags,
  1219.     /* [in] */ UINT uCodePageIn,
  1220.     /* [in] */ long cchRequest,
  1221.     /* [out] */ UINT *puCodePageOut,
  1222.     /* [size_is][size_is][out] */ CHAR **ppszDest,
  1223.     /* [out] */ long *pcchDest,
  1224.     /* [out] */ long *plDestLen);
  1225. void __RPC_STUB IMLangStringAStr_LockAStr_Stub(
  1226.     IRpcStubBuffer *This,
  1227.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1228.     PRPC_MESSAGE _pRpcMessage,
  1229.     DWORD *_pdwStubPhase);
  1230. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_UnlockAStr_Proxy( 
  1231.     IMLangStringAStr * This,
  1232.     /* [size_is][in] */ const CHAR *pszSrc,
  1233.     /* [in] */ long cchSrc,
  1234.     /* [out] */ long *pcchActual,
  1235.     /* [out] */ long *plActualLen);
  1236. void __RPC_STUB IMLangStringAStr_UnlockAStr_Stub(
  1237.     IRpcStubBuffer *This,
  1238.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1239.     PRPC_MESSAGE _pRpcMessage,
  1240.     DWORD *_pdwStubPhase);
  1241. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_SetLocale_Proxy( 
  1242.     IMLangStringAStr * This,
  1243.     /* [in] */ long lDestPos,
  1244.     /* [in] */ long lDestLen,
  1245.     /* [in] */ LCID locale);
  1246. void __RPC_STUB IMLangStringAStr_SetLocale_Stub(
  1247.     IRpcStubBuffer *This,
  1248.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1249.     PRPC_MESSAGE _pRpcMessage,
  1250.     DWORD *_pdwStubPhase);
  1251. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_GetLocale_Proxy( 
  1252.     IMLangStringAStr * This,
  1253.     /* [in] */ long lSrcPos,
  1254.     /* [in] */ long lSrcMaxLen,
  1255.     /* [out] */ LCID *plocale,
  1256.     /* [out] */ long *plLocalePos,
  1257.     /* [out] */ long *plLocaleLen);
  1258. void __RPC_STUB IMLangStringAStr_GetLocale_Stub(
  1259.     IRpcStubBuffer *This,
  1260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1261.     PRPC_MESSAGE _pRpcMessage,
  1262.     DWORD *_pdwStubPhase);
  1263. #endif  /* __IMLangStringAStr_INTERFACE_DEFINED__ */
  1264. EXTERN_C const CLSID CLSID_CMLangString;
  1265. #ifdef __cplusplus
  1266. class DECLSPEC_UUID("C04D65CF-B70D-11D0-B188-00AA0038C969")
  1267. CMLangString;
  1268. #endif
  1269. #ifndef __IMLangLineBreakConsole_INTERFACE_DEFINED__
  1270. #define __IMLangLineBreakConsole_INTERFACE_DEFINED__
  1271. /* interface IMLangLineBreakConsole */
  1272. /* [object][unique][helpstring][uuid] */ 
  1273. EXTERN_C const IID IID_IMLangLineBreakConsole;
  1274. #if defined(__cplusplus) && !defined(CINTERFACE)
  1275.     
  1276.     MIDL_INTERFACE("F5BE2EE1-BFD7-11D0-B188-00AA0038C969")
  1277.     IMLangLineBreakConsole : public IUnknown
  1278.     {
  1279.     public:
  1280.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BreakLineML( 
  1281.             /* [in] */ IMLangString *pSrcMLStr,
  1282.             /* [in] */ long lSrcPos,
  1283.             /* [in] */ long lSrcLen,
  1284.             /* [in] */ long cMinColumns,
  1285.             /* [in] */ long cMaxColumns,
  1286.             /* [out] */ long *plLineLen,
  1287.             /* [out] */ long *plSkipLen) = 0;
  1288.         
  1289.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BreakLineW( 
  1290.             /* [in] */ LCID locale,
  1291.             /* [size_is][in] */ const WCHAR *pszSrc,
  1292.             /* [in] */ long cchSrc,
  1293.             /* [in] */ long cMaxColumns,
  1294.             /* [out] */ long *pcchLine,
  1295.             /* [out] */ long *pcchSkip) = 0;
  1296.         
  1297.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BreakLineA( 
  1298.             /* [in] */ LCID locale,
  1299.             /* [in] */ UINT uCodePage,
  1300.             /* [size_is][in] */ const CHAR *pszSrc,
  1301.             /* [in] */ long cchSrc,
  1302.             /* [in] */ long cMaxColumns,
  1303.             /* [out] */ long *pcchLine,
  1304.             /* [out] */ long *pcchSkip) = 0;
  1305.         
  1306.     };
  1307.     
  1308. #else  /* C style interface */
  1309.     typedef struct IMLangLineBreakConsoleVtbl
  1310.     {
  1311.         BEGIN_INTERFACE
  1312.         
  1313.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1314.             IMLangLineBreakConsole * This,
  1315.             /* [in] */ REFIID riid,
  1316.             /* [iid_is][out] */ void **ppvObject);
  1317.         
  1318.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1319.             IMLangLineBreakConsole * This);
  1320.         
  1321.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1322.             IMLangLineBreakConsole * This);
  1323.         
  1324.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BreakLineML )( 
  1325.             IMLangLineBreakConsole * This,
  1326.             /* [in] */ IMLangString *pSrcMLStr,
  1327.             /* [in] */ long lSrcPos,
  1328.             /* [in] */ long lSrcLen,
  1329.             /* [in] */ long cMinColumns,
  1330.             /* [in] */ long cMaxColumns,
  1331.             /* [out] */ long *plLineLen,
  1332.             /* [out] */ long *plSkipLen);
  1333.         
  1334.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BreakLineW )( 
  1335.             IMLangLineBreakConsole * This,
  1336.             /* [in] */ LCID locale,
  1337.             /* [size_is][in] */ const WCHAR *pszSrc,
  1338.             /* [in] */ long cchSrc,
  1339.             /* [in] */ long cMaxColumns,
  1340.             /* [out] */ long *pcchLine,
  1341.             /* [out] */ long *pcchSkip);
  1342.         
  1343.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BreakLineA )( 
  1344.             IMLangLineBreakConsole * This,
  1345.             /* [in] */ LCID locale,
  1346.             /* [in] */ UINT uCodePage,
  1347.             /* [size_is][in] */ const CHAR *pszSrc,
  1348.             /* [in] */ long cchSrc,
  1349.             /* [in] */ long cMaxColumns,
  1350.             /* [out] */ long *pcchLine,
  1351.             /* [out] */ long *pcchSkip);
  1352.         
  1353.         END_INTERFACE
  1354.     } IMLangLineBreakConsoleVtbl;
  1355.     interface IMLangLineBreakConsole
  1356.     {
  1357.         CONST_VTBL struct IMLangLineBreakConsoleVtbl *lpVtbl;
  1358.     };
  1359.     
  1360. #ifdef COBJMACROS
  1361. #define IMLangLineBreakConsole_QueryInterface(This,riid,ppvObject)
  1362.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1363. #define IMLangLineBreakConsole_AddRef(This)
  1364.     (This)->lpVtbl -> AddRef(This)
  1365. #define IMLangLineBreakConsole_Release(This)
  1366.     (This)->lpVtbl -> Release(This)
  1367. #define IMLangLineBreakConsole_BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen)
  1368.     (This)->lpVtbl -> BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen)
  1369. #define IMLangLineBreakConsole_BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
  1370.     (This)->lpVtbl -> BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
  1371. #define IMLangLineBreakConsole_BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
  1372.     (This)->lpVtbl -> BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
  1373. #endif /* COBJMACROS */
  1374. #endif  /* C style interface */
  1375. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangLineBreakConsole_BreakLineML_Proxy( 
  1376.     IMLangLineBreakConsole * This,
  1377.     /* [in] */ IMLangString *pSrcMLStr,
  1378.     /* [in] */ long lSrcPos,
  1379.     /* [in] */ long lSrcLen,
  1380.     /* [in] */ long cMinColumns,
  1381.     /* [in] */ long cMaxColumns,
  1382.     /* [out] */ long *plLineLen,
  1383.     /* [out] */ long *plSkipLen);
  1384. void __RPC_STUB IMLangLineBreakConsole_BreakLineML_Stub(
  1385.     IRpcStubBuffer *This,
  1386.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1387.     PRPC_MESSAGE _pRpcMessage,
  1388.     DWORD *_pdwStubPhase);
  1389. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangLineBreakConsole_BreakLineW_Proxy( 
  1390.     IMLangLineBreakConsole * This,
  1391.     /* [in] */ LCID locale,
  1392.     /* [size_is][in] */ const WCHAR *pszSrc,
  1393.     /* [in] */ long cchSrc,
  1394.     /* [in] */ long cMaxColumns,
  1395.     /* [out] */ long *pcchLine,
  1396.     /* [out] */ long *pcchSkip);
  1397. void __RPC_STUB IMLangLineBreakConsole_BreakLineW_Stub(
  1398.     IRpcStubBuffer *This,
  1399.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1400.     PRPC_MESSAGE _pRpcMessage,
  1401.     DWORD *_pdwStubPhase);
  1402. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangLineBreakConsole_BreakLineA_Proxy( 
  1403.     IMLangLineBreakConsole * This,
  1404.     /* [in] */ LCID locale,
  1405.     /* [in] */ UINT uCodePage,
  1406.     /* [size_is][in] */ const CHAR *pszSrc,
  1407.     /* [in] */ long cchSrc,
  1408.     /* [in] */ long cMaxColumns,
  1409.     /* [out] */ long *pcchLine,
  1410.     /* [out] */ long *pcchSkip);
  1411. void __RPC_STUB IMLangLineBreakConsole_BreakLineA_Stub(
  1412.     IRpcStubBuffer *This,
  1413.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1414.     PRPC_MESSAGE _pRpcMessage,
  1415.     DWORD *_pdwStubPhase);
  1416. #endif  /* __IMLangLineBreakConsole_INTERFACE_DEFINED__ */
  1417. #ifndef __IEnumCodePage_INTERFACE_DEFINED__
  1418. #define __IEnumCodePage_INTERFACE_DEFINED__
  1419. /* interface IEnumCodePage */
  1420. /* [unique][uuid][object] */ 
  1421. #define MAX_MIMECP_NAME ( 64 )
  1422. #define MAX_MIMECSET_NAME ( 50 )
  1423. #define MAX_MIMEFACE_NAME ( 32 )
  1424. typedef 
  1425. enum tagMIMECONTF
  1426.     { MIMECONTF_MAILNEWS = 0x1,
  1427. MIMECONTF_BROWSER = 0x2,
  1428. MIMECONTF_MINIMAL = 0x4,
  1429. MIMECONTF_IMPORT = 0x8,
  1430. MIMECONTF_SAVABLE_MAILNEWS = 0x100,
  1431. MIMECONTF_SAVABLE_BROWSER = 0x200,
  1432. MIMECONTF_EXPORT = 0x400,
  1433. MIMECONTF_PRIVCONVERTER = 0x10000,
  1434. MIMECONTF_VALID = 0x20000,
  1435. MIMECONTF_VALID_NLS = 0x40000,
  1436. MIMECONTF_MIME_IE4 = 0x10000000,
  1437. MIMECONTF_MIME_LATEST = 0x20000000,
  1438. MIMECONTF_MIME_REGISTRY = 0x40000000
  1439.     }  MIMECONTF;
  1440. typedef struct tagMIMECPINFO
  1441.     {
  1442.     DWORD dwFlags;
  1443.     UINT uiCodePage;
  1444.     UINT uiFamilyCodePage;
  1445.     WCHAR wszDescription[ 64 ];
  1446.     WCHAR wszWebCharset[ 50 ];
  1447.     WCHAR wszHeaderCharset[ 50 ];
  1448.     WCHAR wszBodyCharset[ 50 ];
  1449.     WCHAR wszFixedWidthFont[ 32 ];
  1450.     WCHAR wszProportionalFont[ 32 ];
  1451.     BYTE bGDICharset;
  1452.     }  MIMECPINFO;
  1453. typedef struct tagMIMECPINFO *PMIMECPINFO;
  1454. typedef struct tagMIMECSETINFO
  1455.     {
  1456.     UINT uiCodePage;
  1457.     UINT uiInternetEncoding;
  1458.     WCHAR wszCharset[ 50 ];
  1459.     }  MIMECSETINFO;
  1460. typedef struct tagMIMECSETINFO *PMIMECSETINFO;
  1461. typedef /* [unique] */ IEnumCodePage *LPENUMCODEPAGE;
  1462. EXTERN_C const IID IID_IEnumCodePage;
  1463. #if defined(__cplusplus) && !defined(CINTERFACE)
  1464.     
  1465.     MIDL_INTERFACE("275c23e3-3747-11d0-9fea-00aa003f8646")
  1466.     IEnumCodePage : public IUnknown
  1467.     {
  1468.     public:
  1469.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  1470.             /* [out] */ IEnumCodePage **ppEnum) = 0;
  1471.         
  1472.         virtual HRESULT STDMETHODCALLTYPE Next( 
  1473.             /* [in] */ ULONG celt,
  1474.             /* [out] */ PMIMECPINFO rgelt,
  1475.             /* [out] */ ULONG *pceltFetched) = 0;
  1476.         
  1477.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1478.         
  1479.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  1480.             /* [in] */ ULONG celt) = 0;
  1481.         
  1482.     };
  1483.     
  1484. #else  /* C style interface */
  1485.     typedef struct IEnumCodePageVtbl
  1486.     {
  1487.         BEGIN_INTERFACE
  1488.         
  1489.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1490.             IEnumCodePage * This,
  1491.             /* [in] */ REFIID riid,
  1492.             /* [iid_is][out] */ void **ppvObject);
  1493.         
  1494.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1495.             IEnumCodePage * This);
  1496.         
  1497.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1498.             IEnumCodePage * This);
  1499.         
  1500.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  1501.             IEnumCodePage * This,
  1502.             /* [out] */ IEnumCodePage **ppEnum);
  1503.         
  1504.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  1505.             IEnumCodePage * This,
  1506.             /* [in] */ ULONG celt,
  1507.             /* [out] */ PMIMECPINFO rgelt,
  1508.             /* [out] */ ULONG *pceltFetched);
  1509.         
  1510.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  1511.             IEnumCodePage * This);
  1512.         
  1513.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  1514.             IEnumCodePage * This,
  1515.             /* [in] */ ULONG celt);
  1516.         
  1517.         END_INTERFACE
  1518.     } IEnumCodePageVtbl;
  1519.     interface IEnumCodePage
  1520.     {
  1521.         CONST_VTBL struct IEnumCodePageVtbl *lpVtbl;
  1522.     };
  1523.     
  1524. #ifdef COBJMACROS
  1525. #define IEnumCodePage_QueryInterface(This,riid,ppvObject)
  1526.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1527. #define IEnumCodePage_AddRef(This)
  1528.     (This)->lpVtbl -> AddRef(This)
  1529. #define IEnumCodePage_Release(This)
  1530.     (This)->lpVtbl -> Release(This)
  1531. #define IEnumCodePage_Clone(This,ppEnum)
  1532.     (This)->lpVtbl -> Clone(This,ppEnum)
  1533. #define IEnumCodePage_Next(This,celt,rgelt,pceltFetched)
  1534.     (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1535. #define IEnumCodePage_Reset(This)
  1536.     (This)->lpVtbl -> Reset(This)
  1537. #define IEnumCodePage_Skip(This,celt)
  1538.     (This)->lpVtbl -> Skip(This,celt)
  1539. #endif /* COBJMACROS */
  1540. #endif  /* C style interface */
  1541. HRESULT STDMETHODCALLTYPE IEnumCodePage_Clone_Proxy( 
  1542.     IEnumCodePage * This,
  1543.     /* [out] */ IEnumCodePage **ppEnum);
  1544. void __RPC_STUB IEnumCodePage_Clone_Stub(
  1545.     IRpcStubBuffer *This,
  1546.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1547.     PRPC_MESSAGE _pRpcMessage,
  1548.     DWORD *_pdwStubPhase);
  1549. HRESULT STDMETHODCALLTYPE IEnumCodePage_Next_Proxy( 
  1550.     IEnumCodePage * This,
  1551.     /* [in] */ ULONG celt,
  1552.     /* [out] */ PMIMECPINFO rgelt,
  1553.     /* [out] */ ULONG *pceltFetched);
  1554. void __RPC_STUB IEnumCodePage_Next_Stub(
  1555.     IRpcStubBuffer *This,
  1556.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1557.     PRPC_MESSAGE _pRpcMessage,
  1558.     DWORD *_pdwStubPhase);
  1559. HRESULT STDMETHODCALLTYPE IEnumCodePage_Reset_Proxy( 
  1560.     IEnumCodePage * This);
  1561. void __RPC_STUB IEnumCodePage_Reset_Stub(
  1562.     IRpcStubBuffer *This,
  1563.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1564.     PRPC_MESSAGE _pRpcMessage,
  1565.     DWORD *_pdwStubPhase);
  1566. HRESULT STDMETHODCALLTYPE IEnumCodePage_Skip_Proxy( 
  1567.     IEnumCodePage * This,
  1568.     /* [in] */ ULONG celt);
  1569. void __RPC_STUB IEnumCodePage_Skip_Stub(
  1570.     IRpcStubBuffer *This,
  1571.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1572.     PRPC_MESSAGE _pRpcMessage,
  1573.     DWORD *_pdwStubPhase);
  1574. #endif  /* __IEnumCodePage_INTERFACE_DEFINED__ */
  1575. #ifndef __IEnumRfc1766_INTERFACE_DEFINED__
  1576. #define __IEnumRfc1766_INTERFACE_DEFINED__
  1577. /* interface IEnumRfc1766 */
  1578. /* [unique][uuid][object] */ 
  1579. #define MAX_RFC1766_NAME ( 6 )
  1580. #define MAX_LOCALE_NAME ( 32 )
  1581. typedef struct tagRFC1766INFO
  1582.     {
  1583.     LCID lcid;
  1584.     WCHAR wszRfc1766[ 6 ];
  1585.     WCHAR wszLocaleName[ 32 ];
  1586.     }  RFC1766INFO;
  1587. typedef struct tagRFC1766INFO *PRFC1766INFO;
  1588. typedef /* [unique] */ IEnumRfc1766 *LPENUMRFC1766;
  1589. EXTERN_C const IID IID_IEnumRfc1766;
  1590. #if defined(__cplusplus) && !defined(CINTERFACE)
  1591.     
  1592.     MIDL_INTERFACE("3dc39d1d-c030-11d0-b81b-00c04fc9b31f")
  1593.     IEnumRfc1766 : public IUnknown
  1594.     {
  1595.     public:
  1596.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  1597.             /* [out] */ IEnumRfc1766 **ppEnum) = 0;
  1598.         
  1599.         virtual HRESULT STDMETHODCALLTYPE Next( 
  1600.             /* [in] */ ULONG celt,
  1601.             /* [out] */ PRFC1766INFO rgelt,
  1602.             /* [out] */ ULONG *pceltFetched) = 0;
  1603.         
  1604.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1605.         
  1606.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  1607.             /* [in] */ ULONG celt) = 0;
  1608.         
  1609.     };
  1610.     
  1611. #else  /* C style interface */
  1612.     typedef struct IEnumRfc1766Vtbl
  1613.     {
  1614.         BEGIN_INTERFACE
  1615.         
  1616.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1617.             IEnumRfc1766 * This,
  1618.             /* [in] */ REFIID riid,
  1619.             /* [iid_is][out] */ void **ppvObject);
  1620.         
  1621.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1622.             IEnumRfc1766 * This);
  1623.         
  1624.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1625.             IEnumRfc1766 * This);
  1626.         
  1627.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  1628.             IEnumRfc1766 * This,
  1629.             /* [out] */ IEnumRfc1766 **ppEnum);
  1630.         
  1631.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  1632.             IEnumRfc1766 * This,
  1633.             /* [in] */ ULONG celt,
  1634.             /* [out] */ PRFC1766INFO rgelt,
  1635.             /* [out] */ ULONG *pceltFetched);
  1636.         
  1637.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  1638.             IEnumRfc1766 * This);
  1639.         
  1640.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  1641.             IEnumRfc1766 * This,
  1642.             /* [in] */ ULONG celt);
  1643.         
  1644.         END_INTERFACE
  1645.     } IEnumRfc1766Vtbl;
  1646.     interface IEnumRfc1766
  1647.     {
  1648.         CONST_VTBL struct IEnumRfc1766Vtbl *lpVtbl;
  1649.     };
  1650.     
  1651. #ifdef COBJMACROS
  1652. #define IEnumRfc1766_QueryInterface(This,riid,ppvObject)
  1653.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1654. #define IEnumRfc1766_AddRef(This)
  1655.     (This)->lpVtbl -> AddRef(This)
  1656. #define IEnumRfc1766_Release(This)
  1657.     (This)->lpVtbl -> Release(This)
  1658. #define IEnumRfc1766_Clone(This,ppEnum)
  1659.     (This)->lpVtbl -> Clone(This,ppEnum)
  1660. #define IEnumRfc1766_Next(This,celt,rgelt,pceltFetched)
  1661.     (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1662. #define IEnumRfc1766_Reset(This)
  1663.     (This)->lpVtbl -> Reset(This)
  1664. #define IEnumRfc1766_Skip(This,celt)
  1665.     (This)->lpVtbl -> Skip(This,celt)
  1666. #endif /* COBJMACROS */
  1667. #endif  /* C style interface */
  1668. HRESULT STDMETHODCALLTYPE IEnumRfc1766_Clone_Proxy( 
  1669.     IEnumRfc1766 * This,
  1670.     /* [out] */ IEnumRfc1766 **ppEnum);
  1671. void __RPC_STUB IEnumRfc1766_Clone_Stub(
  1672.     IRpcStubBuffer *This,
  1673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1674.     PRPC_MESSAGE _pRpcMessage,
  1675.     DWORD *_pdwStubPhase);
  1676. HRESULT STDMETHODCALLTYPE IEnumRfc1766_Next_Proxy( 
  1677.     IEnumRfc1766 * This,
  1678.     /* [in] */ ULONG celt,
  1679.     /* [out] */ PRFC1766INFO rgelt,
  1680.     /* [out] */ ULONG *pceltFetched);
  1681. void __RPC_STUB IEnumRfc1766_Next_Stub(
  1682.     IRpcStubBuffer *This,
  1683.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1684.     PRPC_MESSAGE _pRpcMessage,
  1685.     DWORD *_pdwStubPhase);
  1686. HRESULT STDMETHODCALLTYPE IEnumRfc1766_Reset_Proxy( 
  1687.     IEnumRfc1766 * This);
  1688. void __RPC_STUB IEnumRfc1766_Reset_Stub(
  1689.     IRpcStubBuffer *This,
  1690.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1691.     PRPC_MESSAGE _pRpcMessage,
  1692.     DWORD *_pdwStubPhase);
  1693. HRESULT STDMETHODCALLTYPE IEnumRfc1766_Skip_Proxy( 
  1694.     IEnumRfc1766 * This,
  1695.     /* [in] */ ULONG celt);
  1696. void __RPC_STUB IEnumRfc1766_Skip_Stub(
  1697.     IRpcStubBuffer *This,
  1698.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1699.     PRPC_MESSAGE _pRpcMessage,
  1700.     DWORD *_pdwStubPhase);
  1701. #endif  /* __IEnumRfc1766_INTERFACE_DEFINED__ */
  1702. #ifndef __IEnumScript_INTERFACE_DEFINED__
  1703. #define __IEnumScript_INTERFACE_DEFINED__
  1704. /* interface IEnumScript */
  1705. /* [unique][uuid][object] */ 
  1706. #define MAX_SCRIPT_NAME ( 48 )
  1707. typedef BYTE SCRIPT_ID;
  1708. typedef __int64 SCRIPT_IDS;
  1709. typedef 
  1710. enum tagSCRIPTCONTF
  1711.     { sidDefault = 0,
  1712. sidMerge = sidDefault + 1,
  1713. sidAsciiSym = sidMerge + 1,
  1714. sidAsciiLatin = sidAsciiSym + 1,
  1715. sidLatin = sidAsciiLatin + 1,
  1716. sidGreek = sidLatin + 1,
  1717. sidCyrillic = sidGreek + 1,
  1718. sidArmenian = sidCyrillic + 1,
  1719. sidHebrew = sidArmenian + 1,
  1720. sidArabic = sidHebrew + 1,
  1721. sidDevanagari = sidArabic + 1,
  1722. sidBengali = sidDevanagari + 1,
  1723. sidGurmukhi = sidBengali + 1,
  1724. sidGujarati = sidGurmukhi + 1,
  1725. sidOriya = sidGujarati + 1,
  1726. sidTamil = sidOriya + 1,
  1727. sidTelugu = sidTamil + 1,
  1728. sidKannada = sidTelugu + 1,
  1729. sidMalayalam = sidKannada + 1,
  1730. sidThai = sidMalayalam + 1,
  1731. sidLao = sidThai + 1,
  1732. sidTibetan = sidLao + 1,
  1733. sidGeorgian = sidTibetan + 1,
  1734. sidHangul = sidGeorgian + 1,
  1735. sidKana = sidHangul + 1,
  1736. sidBopomofo = sidKana + 1,
  1737. sidHan = sidBopomofo + 1,
  1738. sidEthiopic = sidHan + 1,
  1739. sidCanSyllabic = sidEthiopic + 1,
  1740. sidCherokee = sidCanSyllabic + 1,
  1741. sidYi = sidCherokee + 1,
  1742. sidBraille = sidYi + 1,
  1743. sidRunic = sidBraille + 1,
  1744. sidOgham = sidRunic + 1,
  1745. sidSinhala = sidOgham + 1,
  1746. sidSyriac = sidSinhala + 1,
  1747. sidBurmese = sidSyriac + 1,
  1748. sidKhmer = sidBurmese + 1,
  1749. sidThaana = sidKhmer + 1,
  1750. sidMongolian = sidThaana + 1,
  1751. sidUserDefined = sidMongolian + 1,
  1752. sidLim = sidUserDefined + 1,
  1753. sidFEFirst = sidHangul,
  1754. sidFELast = sidHan
  1755.     }  SCRIPTCONTF;
  1756. typedef struct tagSCRIPTINFO
  1757.     {
  1758.     SCRIPT_ID ScriptId;
  1759.     UINT uiCodePage;
  1760.     WCHAR wszDescription[ 48 ];
  1761.     WCHAR wszFixedWidthFont[ 32 ];
  1762.     WCHAR wszProportionalFont[ 32 ];
  1763.     }  SCRIPTINFO;
  1764. typedef struct tagSCRIPTINFO *PSCRIPTINFO;
  1765. typedef /* [unique] */ IEnumScript *LPENUMScript;
  1766. EXTERN_C const IID IID_IEnumScript;
  1767. #if defined(__cplusplus) && !defined(CINTERFACE)
  1768.     
  1769.     MIDL_INTERFACE("AE5F1430-388B-11d2-8380-00C04F8F5DA1")
  1770.     IEnumScript : public IUnknown
  1771.     {
  1772.     public:
  1773.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  1774.             /* [out] */ IEnumScript **ppEnum) = 0;
  1775.         
  1776.         virtual HRESULT STDMETHODCALLTYPE Next( 
  1777.             /* [in] */ ULONG celt,
  1778.             /* [out] */ PSCRIPTINFO rgelt,
  1779.             /* [out] */ ULONG *pceltFetched) = 0;
  1780.         
  1781.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1782.         
  1783.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  1784.             /* [in] */ ULONG celt) = 0;
  1785.         
  1786.     };
  1787.     
  1788. #else  /* C style interface */
  1789.     typedef struct IEnumScriptVtbl
  1790.     {
  1791.         BEGIN_INTERFACE
  1792.         
  1793.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1794.             IEnumScript * This,
  1795.             /* [in] */ REFIID riid,
  1796.             /* [iid_is][out] */ void **ppvObject);
  1797.         
  1798.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1799.             IEnumScript * This);
  1800.         
  1801.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1802.             IEnumScript * This);
  1803.         
  1804.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  1805.             IEnumScript * This,
  1806.             /* [out] */ IEnumScript **ppEnum);
  1807.         
  1808.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  1809.             IEnumScript * This,
  1810.             /* [in] */ ULONG celt,
  1811.             /* [out] */ PSCRIPTINFO rgelt,
  1812.             /* [out] */ ULONG *pceltFetched);
  1813.         
  1814.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  1815.             IEnumScript * This);
  1816.         
  1817.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  1818.             IEnumScript * This,
  1819.             /* [in] */ ULONG celt);
  1820.         
  1821.         END_INTERFACE
  1822.     } IEnumScriptVtbl;
  1823.     interface IEnumScript
  1824.     {
  1825.         CONST_VTBL struct IEnumScriptVtbl *lpVtbl;
  1826.     };
  1827.     
  1828. #ifdef COBJMACROS
  1829. #define IEnumScript_QueryInterface(This,riid,ppvObject)
  1830.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1831. #define IEnumScript_AddRef(This)
  1832.     (This)->lpVtbl -> AddRef(This)
  1833. #define IEnumScript_Release(This)
  1834.     (This)->lpVtbl -> Release(This)
  1835. #define IEnumScript_Clone(This,ppEnum)
  1836.     (This)->lpVtbl -> Clone(This,ppEnum)
  1837. #define IEnumScript_Next(This,celt,rgelt,pceltFetched)
  1838.     (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1839. #define IEnumScript_Reset(This)
  1840.     (This)->lpVtbl -> Reset(This)
  1841. #define IEnumScript_Skip(This,celt)
  1842.     (This)->lpVtbl -> Skip(This,celt)
  1843. #endif /* COBJMACROS */
  1844. #endif  /* C style interface */
  1845. HRESULT STDMETHODCALLTYPE IEnumScript_Clone_Proxy( 
  1846.     IEnumScript * This,
  1847.     /* [out] */ IEnumScript **ppEnum);
  1848. void __RPC_STUB IEnumScript_Clone_Stub(
  1849.     IRpcStubBuffer *This,
  1850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1851.     PRPC_MESSAGE _pRpcMessage,
  1852.     DWORD *_pdwStubPhase);
  1853. HRESULT STDMETHODCALLTYPE IEnumScript_Next_Proxy( 
  1854.     IEnumScript * This,
  1855.     /* [in] */ ULONG celt,
  1856.     /* [out] */ PSCRIPTINFO rgelt,
  1857.     /* [out] */ ULONG *pceltFetched);
  1858. void __RPC_STUB IEnumScript_Next_Stub(
  1859.     IRpcStubBuffer *This,
  1860.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1861.     PRPC_MESSAGE _pRpcMessage,
  1862.     DWORD *_pdwStubPhase);
  1863. HRESULT STDMETHODCALLTYPE IEnumScript_Reset_Proxy( 
  1864.     IEnumScript * This);
  1865. void __RPC_STUB IEnumScript_Reset_Stub(
  1866.     IRpcStubBuffer *This,
  1867.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1868.     PRPC_MESSAGE _pRpcMessage,
  1869.     DWORD *_pdwStubPhase);
  1870. HRESULT STDMETHODCALLTYPE IEnumScript_Skip_Proxy( 
  1871.     IEnumScript * This,
  1872.     /* [in] */ ULONG celt);
  1873. void __RPC_STUB IEnumScript_Skip_Stub(
  1874.     IRpcStubBuffer *This,
  1875.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1876.     PRPC_MESSAGE _pRpcMessage,
  1877.     DWORD *_pdwStubPhase);
  1878. #endif  /* __IEnumScript_INTERFACE_DEFINED__ */
  1879. #ifndef __IMLangConvertCharset_INTERFACE_DEFINED__
  1880. #define __IMLangConvertCharset_INTERFACE_DEFINED__
  1881. /* interface IMLangConvertCharset */
  1882. /* [unique][uuid][object] */ 
  1883. typedef 
  1884. enum tagMLCONVCHARF
  1885.     { MLCONVCHARF_AUTODETECT = 1,
  1886. MLCONVCHARF_ENTITIZE = 2,
  1887. MLCONVCHARF_NCR_ENTITIZE = 2,
  1888. MLCONVCHARF_NAME_ENTITIZE = 4,
  1889. MLCONVCHARF_USEDEFCHAR = 8,
  1890. MLCONVCHARF_NOBESTFITCHARS = 16,
  1891. MLCONVCHARF_DETECTJPN = 32
  1892.     }  MLCONVCHAR;
  1893. typedef 
  1894. enum tagMLCPF
  1895.     { MLDETECTF_MAILNEWS = 0x1,
  1896. MLDETECTF_BROWSER = 0x2,
  1897. MLDETECTF_VALID = 0x4,
  1898. MLDETECTF_VALID_NLS = 0x8,
  1899. MLDETECTF_PRESERVE_ORDER = 0x10,
  1900. MLDETECTF_PREFERRED_ONLY = 0x20,
  1901. MLDETECTF_FILTER_SPECIALCHAR = 0x40
  1902.     }  MLCP;
  1903. typedef /* [unique] */ IMLangConvertCharset *LPMLANGCONVERTCHARSET;
  1904. EXTERN_C const IID IID_IMLangConvertCharset;
  1905. #if defined(__cplusplus) && !defined(CINTERFACE)
  1906.     
  1907.     MIDL_INTERFACE("d66d6f98-cdaa-11d0-b822-00c04fc9b31f")
  1908.     IMLangConvertCharset : public IUnknown
  1909.     {
  1910.     public:
  1911.         virtual HRESULT STDMETHODCALLTYPE Initialize( 
  1912.             /* [in] */ UINT uiSrcCodePage,
  1913.             /* [in] */ UINT uiDstCodePage,
  1914.             /* [in] */ DWORD dwProperty) = 0;
  1915.         
  1916.         virtual HRESULT STDMETHODCALLTYPE GetSourceCodePage( 
  1917.             /* [out] */ UINT *puiSrcCodePage) = 0;
  1918.         
  1919.         virtual HRESULT STDMETHODCALLTYPE GetDestinationCodePage( 
  1920.             /* [out] */ UINT *puiDstCodePage) = 0;
  1921.         
  1922.         virtual HRESULT STDMETHODCALLTYPE GetProperty( 
  1923.             /* [out] */ DWORD *pdwProperty) = 0;
  1924.         
  1925.         virtual HRESULT STDMETHODCALLTYPE DoConversion( 
  1926.             /* [in] */ BYTE *pSrcStr,
  1927.             /* [out][in] */ UINT *pcSrcSize,
  1928.             /* [in] */ BYTE *pDstStr,
  1929.             /* [out][in] */ UINT *pcDstSize) = 0;
  1930.         
  1931.         virtual HRESULT STDMETHODCALLTYPE DoConversionToUnicode( 
  1932.             /* [in] */ CHAR *pSrcStr,
  1933.             /* [out][in] */ UINT *pcSrcSize,
  1934.             /* [in] */ WCHAR *pDstStr,
  1935.             /* [out][in] */ UINT *pcDstSize) = 0;
  1936.         
  1937.         virtual HRESULT STDMETHODCALLTYPE DoConversionFromUnicode( 
  1938.             /* [in] */ WCHAR *pSrcStr,
  1939.             /* [out][in] */ UINT *pcSrcSize,
  1940.             /* [in] */ CHAR *pDstStr,
  1941.             /* [out][in] */ UINT *pcDstSize) = 0;
  1942.         
  1943.     };
  1944.     
  1945. #else  /* C style interface */
  1946.     typedef struct IMLangConvertCharsetVtbl
  1947.     {
  1948.         BEGIN_INTERFACE
  1949.         
  1950.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1951.             IMLangConvertCharset * This,
  1952.             /* [in] */ REFIID riid,
  1953.             /* [iid_is][out] */ void **ppvObject);
  1954.         
  1955.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1956.             IMLangConvertCharset * This);
  1957.         
  1958.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1959.             IMLangConvertCharset * This);
  1960.         
  1961.         HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  1962.             IMLangConvertCharset * This,
  1963.             /* [in] */ UINT uiSrcCodePage,
  1964.             /* [in] */ UINT uiDstCodePage,
  1965.             /* [in] */ DWORD dwProperty);
  1966.         
  1967.         HRESULT ( STDMETHODCALLTYPE *GetSourceCodePage )( 
  1968.             IMLangConvertCharset * This,
  1969.             /* [out] */ UINT *puiSrcCodePage);
  1970.         
  1971.         HRESULT ( STDMETHODCALLTYPE *GetDestinationCodePage )( 
  1972.             IMLangConvertCharset * This,
  1973.             /* [out] */ UINT *puiDstCodePage);
  1974.         
  1975.         HRESULT ( STDMETHODCALLTYPE *GetProperty )( 
  1976.             IMLangConvertCharset * This,
  1977.             /* [out] */ DWORD *pdwProperty);
  1978.         
  1979.         HRESULT ( STDMETHODCALLTYPE *DoConversion )( 
  1980.             IMLangConvertCharset * This,
  1981.             /* [in] */ BYTE *pSrcStr,
  1982.             /* [out][in] */ UINT *pcSrcSize,
  1983.             /* [in] */ BYTE *pDstStr,
  1984.             /* [out][in] */ UINT *pcDstSize);
  1985.         
  1986.         HRESULT ( STDMETHODCALLTYPE *DoConversionToUnicode )( 
  1987.             IMLangConvertCharset * This,
  1988.             /* [in] */ CHAR *pSrcStr,
  1989.             /* [out][in] */ UINT *pcSrcSize,
  1990.             /* [in] */ WCHAR *pDstStr,
  1991.             /* [out][in] */ UINT *pcDstSize);
  1992.         
  1993.         HRESULT ( STDMETHODCALLTYPE *DoConversionFromUnicode )( 
  1994.             IMLangConvertCharset * This,
  1995.             /* [in] */ WCHAR *pSrcStr,
  1996.             /* [out][in] */ UINT *pcSrcSize,
  1997.             /* [in] */ CHAR *pDstStr,
  1998.             /* [out][in] */ UINT *pcDstSize);
  1999.         
  2000.         END_INTERFACE
  2001.     } IMLangConvertCharsetVtbl;
  2002.     interface IMLangConvertCharset
  2003.     {
  2004.         CONST_VTBL struct IMLangConvertCharsetVtbl *lpVtbl;
  2005.     };
  2006.     
  2007. #ifdef COBJMACROS
  2008. #define IMLangConvertCharset_QueryInterface(This,riid,ppvObject)
  2009.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2010. #define IMLangConvertCharset_AddRef(This)
  2011.     (This)->lpVtbl -> AddRef(This)
  2012. #define IMLangConvertCharset_Release(This)
  2013.     (This)->lpVtbl -> Release(This)
  2014. #define IMLangConvertCharset_Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty)
  2015.     (This)->lpVtbl -> Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty)
  2016. #define IMLangConvertCharset_GetSourceCodePage(This,puiSrcCodePage)
  2017.     (This)->lpVtbl -> GetSourceCodePage(This,puiSrcCodePage)
  2018. #define IMLangConvertCharset_GetDestinationCodePage(This,puiDstCodePage)
  2019.     (This)->lpVtbl -> GetDestinationCodePage(This,puiDstCodePage)
  2020. #define IMLangConvertCharset_GetProperty(This,pdwProperty)
  2021.     (This)->lpVtbl -> GetProperty(This,pdwProperty)
  2022. #define IMLangConvertCharset_DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
  2023.     (This)->lpVtbl -> DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
  2024. #define IMLangConvertCharset_DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
  2025.     (This)->lpVtbl -> DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
  2026. #define IMLangConvertCharset_DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
  2027.     (This)->lpVtbl -> DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
  2028. #endif /* COBJMACROS */
  2029. #endif  /* C style interface */
  2030. HRESULT STDMETHODCALLTYPE IMLangConvertCharset_Initialize_Proxy( 
  2031.     IMLangConvertCharset * This,
  2032.     /* [in] */ UINT uiSrcCodePage,
  2033.     /* [in] */ UINT uiDstCodePage,
  2034.     /* [in] */ DWORD dwProperty);
  2035. void __RPC_STUB IMLangConvertCharset_Initialize_Stub(
  2036.     IRpcStubBuffer *This,
  2037.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2038.     PRPC_MESSAGE _pRpcMessage,
  2039.     DWORD *_pdwStubPhase);
  2040. HRESULT STDMETHODCALLTYPE IMLangConvertCharset_GetSourceCodePage_Proxy( 
  2041.     IMLangConvertCharset * This,
  2042.     /* [out] */ UINT *puiSrcCodePage);
  2043. void __RPC_STUB IMLangConvertCharset_GetSourceCodePage_Stub(
  2044.     IRpcStubBuffer *This,
  2045.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2046.     PRPC_MESSAGE _pRpcMessage,
  2047.     DWORD *_pdwStubPhase);
  2048. HRESULT STDMETHODCALLTYPE IMLangConvertCharset_GetDestinationCodePage_Proxy(