MLang.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:171k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for mlang.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 440
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __mlang_h__
- #define __mlang_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IMLangStringBufW_FWD_DEFINED__
- #define __IMLangStringBufW_FWD_DEFINED__
- typedef interface IMLangStringBufW IMLangStringBufW;
- #endif /* __IMLangStringBufW_FWD_DEFINED__ */
- #ifndef __IMLangStringBufA_FWD_DEFINED__
- #define __IMLangStringBufA_FWD_DEFINED__
- typedef interface IMLangStringBufA IMLangStringBufA;
- #endif /* __IMLangStringBufA_FWD_DEFINED__ */
- #ifndef __IMLangString_FWD_DEFINED__
- #define __IMLangString_FWD_DEFINED__
- typedef interface IMLangString IMLangString;
- #endif /* __IMLangString_FWD_DEFINED__ */
- #ifndef __IMLangStringWStr_FWD_DEFINED__
- #define __IMLangStringWStr_FWD_DEFINED__
- typedef interface IMLangStringWStr IMLangStringWStr;
- #endif /* __IMLangStringWStr_FWD_DEFINED__ */
- #ifndef __IMLangStringAStr_FWD_DEFINED__
- #define __IMLangStringAStr_FWD_DEFINED__
- typedef interface IMLangStringAStr IMLangStringAStr;
- #endif /* __IMLangStringAStr_FWD_DEFINED__ */
- #ifndef __CMLangString_FWD_DEFINED__
- #define __CMLangString_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class CMLangString CMLangString;
- #else
- typedef struct CMLangString CMLangString;
- #endif /* __cplusplus */
- #endif /* __CMLangString_FWD_DEFINED__ */
- #ifndef __IMLangLineBreakConsole_FWD_DEFINED__
- #define __IMLangLineBreakConsole_FWD_DEFINED__
- typedef interface IMLangLineBreakConsole IMLangLineBreakConsole;
- #endif /* __IMLangLineBreakConsole_FWD_DEFINED__ */
- #ifndef __IEnumCodePage_FWD_DEFINED__
- #define __IEnumCodePage_FWD_DEFINED__
- typedef interface IEnumCodePage IEnumCodePage;
- #endif /* __IEnumCodePage_FWD_DEFINED__ */
- #ifndef __IEnumRfc1766_FWD_DEFINED__
- #define __IEnumRfc1766_FWD_DEFINED__
- typedef interface IEnumRfc1766 IEnumRfc1766;
- #endif /* __IEnumRfc1766_FWD_DEFINED__ */
- #ifndef __IEnumScript_FWD_DEFINED__
- #define __IEnumScript_FWD_DEFINED__
- typedef interface IEnumScript IEnumScript;
- #endif /* __IEnumScript_FWD_DEFINED__ */
- #ifndef __IMLangConvertCharset_FWD_DEFINED__
- #define __IMLangConvertCharset_FWD_DEFINED__
- typedef interface IMLangConvertCharset IMLangConvertCharset;
- #endif /* __IMLangConvertCharset_FWD_DEFINED__ */
- #ifndef __CMLangConvertCharset_FWD_DEFINED__
- #define __CMLangConvertCharset_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class CMLangConvertCharset CMLangConvertCharset;
- #else
- typedef struct CMLangConvertCharset CMLangConvertCharset;
- #endif /* __cplusplus */
- #endif /* __CMLangConvertCharset_FWD_DEFINED__ */
- #ifndef __IMultiLanguage_FWD_DEFINED__
- #define __IMultiLanguage_FWD_DEFINED__
- typedef interface IMultiLanguage IMultiLanguage;
- #endif /* __IMultiLanguage_FWD_DEFINED__ */
- #ifndef __IMultiLanguage2_FWD_DEFINED__
- #define __IMultiLanguage2_FWD_DEFINED__
- typedef interface IMultiLanguage2 IMultiLanguage2;
- #endif /* __IMultiLanguage2_FWD_DEFINED__ */
- #ifndef __IMLangCodePages_FWD_DEFINED__
- #define __IMLangCodePages_FWD_DEFINED__
- typedef interface IMLangCodePages IMLangCodePages;
- #endif /* __IMLangCodePages_FWD_DEFINED__ */
- #ifndef __IMLangFontLink_FWD_DEFINED__
- #define __IMLangFontLink_FWD_DEFINED__
- typedef interface IMLangFontLink IMLangFontLink;
- #endif /* __IMLangFontLink_FWD_DEFINED__ */
- #ifndef __IMLangFontLink2_FWD_DEFINED__
- #define __IMLangFontLink2_FWD_DEFINED__
- typedef interface IMLangFontLink2 IMLangFontLink2;
- #endif /* __IMLangFontLink2_FWD_DEFINED__ */
- #ifndef __IMultiLanguage3_FWD_DEFINED__
- #define __IMultiLanguage3_FWD_DEFINED__
- typedef interface IMultiLanguage3 IMultiLanguage3;
- #endif /* __IMultiLanguage3_FWD_DEFINED__ */
- #ifndef __CMultiLanguage_FWD_DEFINED__
- #define __CMultiLanguage_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class CMultiLanguage CMultiLanguage;
- #else
- typedef struct CMultiLanguage CMultiLanguage;
- #endif /* __cplusplus */
- #endif /* __CMultiLanguage_FWD_DEFINED__ */
- /* header files for imported files */
- #include "unknwn.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_mlang_0000 */
- /* [local] */
- //=--------------------------------------------------------------------------=
- // MLang.h
- //=--------------------------------------------------------------------------=
- // Copyright (c) Microsoft Corporation. All rights reserved.
- //
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- // PARTICULAR PURPOSE.
- //=--------------------------------------------------------------------------=
-
- #pragma comment(lib,"uuid.lib")
-
- //----------------------------------------------------------------------------
- // IMultiLanguage Interfaces.
-
- extern RPC_IF_HANDLE __MIDL_itf_mlang_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_mlang_0000_v0_0_s_ifspec;
- #ifndef __MultiLanguage_LIBRARY_DEFINED__
- #define __MultiLanguage_LIBRARY_DEFINED__
- /* library MultiLanguage */
- /* [version][lcid][helpstring][uuid] */
- typedef WORD LANGID;
- typedef
- enum tagMLSTR_FLAGS
- { MLSTR_READ = 1,
- MLSTR_WRITE = 2
- } MLSTR_FLAGS;
- // dwfIODControl definitions for ValidateCodePageEx()
- #define CPIOD_PEEK 0x40000000L
- #define CPIOD_FORCE_PROMPT 0x80000000L
- EXTERN_C const IID LIBID_MultiLanguage;
- #ifndef __IMLangStringBufW_INTERFACE_DEFINED__
- #define __IMLangStringBufW_INTERFACE_DEFINED__
- /* interface IMLangStringBufW */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IMLangStringBufW;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D24ACD21-BA72-11D0-B188-00AA0038C969")
- IMLangStringBufW : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStatus(
- /* [out] */ long *plFlags,
- /* [out] */ long *pcchBuf) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockBuf(
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxLock,
- /* [size_is][size_is][out] */ WCHAR **ppszBuf,
- /* [out] */ long *pcchBuf) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockBuf(
- /* [size_is][in] */ const WCHAR *pszBuf,
- /* [in] */ long cchOffset,
- /* [in] */ long cchWrite) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Insert(
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxInsert,
- /* [out] */ long *pcchActual) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Delete(
- /* [in] */ long cchOffset,
- /* [in] */ long cchDelete) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangStringBufWVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangStringBufW * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangStringBufW * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangStringBufW * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStatus )(
- IMLangStringBufW * This,
- /* [out] */ long *plFlags,
- /* [out] */ long *pcchBuf);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockBuf )(
- IMLangStringBufW * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxLock,
- /* [size_is][size_is][out] */ WCHAR **ppszBuf,
- /* [out] */ long *pcchBuf);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockBuf )(
- IMLangStringBufW * This,
- /* [size_is][in] */ const WCHAR *pszBuf,
- /* [in] */ long cchOffset,
- /* [in] */ long cchWrite);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Insert )(
- IMLangStringBufW * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxInsert,
- /* [out] */ long *pcchActual);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
- IMLangStringBufW * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchDelete);
-
- END_INTERFACE
- } IMLangStringBufWVtbl;
- interface IMLangStringBufW
- {
- CONST_VTBL struct IMLangStringBufWVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangStringBufW_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangStringBufW_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangStringBufW_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangStringBufW_GetStatus(This,plFlags,pcchBuf)
- (This)->lpVtbl -> GetStatus(This,plFlags,pcchBuf)
- #define IMLangStringBufW_LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
- (This)->lpVtbl -> LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
- #define IMLangStringBufW_UnlockBuf(This,pszBuf,cchOffset,cchWrite)
- (This)->lpVtbl -> UnlockBuf(This,pszBuf,cchOffset,cchWrite)
- #define IMLangStringBufW_Insert(This,cchOffset,cchMaxInsert,pcchActual)
- (This)->lpVtbl -> Insert(This,cchOffset,cchMaxInsert,pcchActual)
- #define IMLangStringBufW_Delete(This,cchOffset,cchDelete)
- (This)->lpVtbl -> Delete(This,cchOffset,cchDelete)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_GetStatus_Proxy(
- IMLangStringBufW * This,
- /* [out] */ long *plFlags,
- /* [out] */ long *pcchBuf);
- void __RPC_STUB IMLangStringBufW_GetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_LockBuf_Proxy(
- IMLangStringBufW * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxLock,
- /* [size_is][size_is][out] */ WCHAR **ppszBuf,
- /* [out] */ long *pcchBuf);
- void __RPC_STUB IMLangStringBufW_LockBuf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_UnlockBuf_Proxy(
- IMLangStringBufW * This,
- /* [size_is][in] */ const WCHAR *pszBuf,
- /* [in] */ long cchOffset,
- /* [in] */ long cchWrite);
- void __RPC_STUB IMLangStringBufW_UnlockBuf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_Insert_Proxy(
- IMLangStringBufW * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxInsert,
- /* [out] */ long *pcchActual);
- void __RPC_STUB IMLangStringBufW_Insert_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufW_Delete_Proxy(
- IMLangStringBufW * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchDelete);
- void __RPC_STUB IMLangStringBufW_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMLangStringBufW_INTERFACE_DEFINED__ */
- #ifndef __IMLangStringBufA_INTERFACE_DEFINED__
- #define __IMLangStringBufA_INTERFACE_DEFINED__
- /* interface IMLangStringBufA */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IMLangStringBufA;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D24ACD23-BA72-11D0-B188-00AA0038C969")
- IMLangStringBufA : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStatus(
- /* [out] */ long *plFlags,
- /* [out] */ long *pcchBuf) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockBuf(
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxLock,
- /* [size_is][size_is][out] */ CHAR **ppszBuf,
- /* [out] */ long *pcchBuf) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockBuf(
- /* [size_is][in] */ const CHAR *pszBuf,
- /* [in] */ long cchOffset,
- /* [in] */ long cchWrite) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Insert(
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxInsert,
- /* [out] */ long *pcchActual) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Delete(
- /* [in] */ long cchOffset,
- /* [in] */ long cchDelete) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangStringBufAVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangStringBufA * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangStringBufA * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangStringBufA * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStatus )(
- IMLangStringBufA * This,
- /* [out] */ long *plFlags,
- /* [out] */ long *pcchBuf);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockBuf )(
- IMLangStringBufA * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxLock,
- /* [size_is][size_is][out] */ CHAR **ppszBuf,
- /* [out] */ long *pcchBuf);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockBuf )(
- IMLangStringBufA * This,
- /* [size_is][in] */ const CHAR *pszBuf,
- /* [in] */ long cchOffset,
- /* [in] */ long cchWrite);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Insert )(
- IMLangStringBufA * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxInsert,
- /* [out] */ long *pcchActual);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
- IMLangStringBufA * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchDelete);
-
- END_INTERFACE
- } IMLangStringBufAVtbl;
- interface IMLangStringBufA
- {
- CONST_VTBL struct IMLangStringBufAVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangStringBufA_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangStringBufA_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangStringBufA_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangStringBufA_GetStatus(This,plFlags,pcchBuf)
- (This)->lpVtbl -> GetStatus(This,plFlags,pcchBuf)
- #define IMLangStringBufA_LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
- (This)->lpVtbl -> LockBuf(This,cchOffset,cchMaxLock,ppszBuf,pcchBuf)
- #define IMLangStringBufA_UnlockBuf(This,pszBuf,cchOffset,cchWrite)
- (This)->lpVtbl -> UnlockBuf(This,pszBuf,cchOffset,cchWrite)
- #define IMLangStringBufA_Insert(This,cchOffset,cchMaxInsert,pcchActual)
- (This)->lpVtbl -> Insert(This,cchOffset,cchMaxInsert,pcchActual)
- #define IMLangStringBufA_Delete(This,cchOffset,cchDelete)
- (This)->lpVtbl -> Delete(This,cchOffset,cchDelete)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_GetStatus_Proxy(
- IMLangStringBufA * This,
- /* [out] */ long *plFlags,
- /* [out] */ long *pcchBuf);
- void __RPC_STUB IMLangStringBufA_GetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_LockBuf_Proxy(
- IMLangStringBufA * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxLock,
- /* [size_is][size_is][out] */ CHAR **ppszBuf,
- /* [out] */ long *pcchBuf);
- void __RPC_STUB IMLangStringBufA_LockBuf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_UnlockBuf_Proxy(
- IMLangStringBufA * This,
- /* [size_is][in] */ const CHAR *pszBuf,
- /* [in] */ long cchOffset,
- /* [in] */ long cchWrite);
- void __RPC_STUB IMLangStringBufA_UnlockBuf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_Insert_Proxy(
- IMLangStringBufA * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchMaxInsert,
- /* [out] */ long *pcchActual);
- void __RPC_STUB IMLangStringBufA_Insert_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringBufA_Delete_Proxy(
- IMLangStringBufA * This,
- /* [in] */ long cchOffset,
- /* [in] */ long cchDelete);
- void __RPC_STUB IMLangStringBufA_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMLangStringBufA_INTERFACE_DEFINED__ */
- #ifndef __IMLangString_INTERFACE_DEFINED__
- #define __IMLangString_INTERFACE_DEFINED__
- /* interface IMLangString */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IMLangString;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C04D65CE-B70D-11D0-B188-00AA0038C969")
- IMLangString : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Sync(
- /* [in] */ BOOL fNoAccess) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLength(
- /* [retval][out] */ long *plLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetMLStr(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IUnknown *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMLStr(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ IUnknown *pUnkOuter,
- /* [in] */ DWORD dwClsContext,
- /* [in] */ const IID *piid,
- /* [out] */ IUnknown **ppDestMLStr,
- /* [out] */ long *plDestPos,
- /* [out] */ long *plDestLen) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangStringVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangString * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangString * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangString * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sync )(
- IMLangString * This,
- /* [in] */ BOOL fNoAccess);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )(
- IMLangString * This,
- /* [retval][out] */ long *plLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMLStr )(
- IMLangString * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IUnknown *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMLStr )(
- IMLangString * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ IUnknown *pUnkOuter,
- /* [in] */ DWORD dwClsContext,
- /* [in] */ const IID *piid,
- /* [out] */ IUnknown **ppDestMLStr,
- /* [out] */ long *plDestPos,
- /* [out] */ long *plDestLen);
-
- END_INTERFACE
- } IMLangStringVtbl;
- interface IMLangString
- {
- CONST_VTBL struct IMLangStringVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangString_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangString_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangString_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangString_Sync(This,fNoAccess)
- (This)->lpVtbl -> Sync(This,fNoAccess)
- #define IMLangString_GetLength(This,plLen)
- (This)->lpVtbl -> GetLength(This,plLen)
- #define IMLangString_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
- (This)->lpVtbl -> SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
- #define IMLangString_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
- (This)->lpVtbl -> GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_Sync_Proxy(
- IMLangString * This,
- /* [in] */ BOOL fNoAccess);
- void __RPC_STUB IMLangString_Sync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_GetLength_Proxy(
- IMLangString * This,
- /* [retval][out] */ long *plLen);
- void __RPC_STUB IMLangString_GetLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_SetMLStr_Proxy(
- IMLangString * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IUnknown *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen);
- void __RPC_STUB IMLangString_SetMLStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangString_GetMLStr_Proxy(
- IMLangString * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ IUnknown *pUnkOuter,
- /* [in] */ DWORD dwClsContext,
- /* [in] */ const IID *piid,
- /* [out] */ IUnknown **ppDestMLStr,
- /* [out] */ long *plDestPos,
- /* [out] */ long *plDestLen);
- void __RPC_STUB IMLangString_GetMLStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMLangString_INTERFACE_DEFINED__ */
- #ifndef __IMLangStringWStr_INTERFACE_DEFINED__
- #define __IMLangStringWStr_INTERFACE_DEFINED__
- /* interface IMLangStringWStr */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IMLangStringWStr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C04D65D0-B70D-11D0-B188-00AA0038C969")
- IMLangStringWStr : public IMLangString
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetWStr(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStrBufW(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IMLangStringBufW *pSrcBuf,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetWStr(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [size_is][out] */ WCHAR *pszDest,
- /* [in] */ long cchDest,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStrBufW(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ IMLangStringBufW **ppDestBuf,
- /* [out] */ long *plDestLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockWStr(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long lFlags,
- /* [in] */ long cchRequest,
- /* [size_is][size_is][out] */ WCHAR **ppszDest,
- /* [out] */ long *pcchDest,
- /* [out] */ long *plDestLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockWStr(
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLocale(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ LCID locale) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLocale(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ LCID *plocale,
- /* [out] */ long *plLocalePos,
- /* [out] */ long *plLocaleLen) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangStringWStrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangStringWStr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangStringWStr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangStringWStr * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sync )(
- IMLangStringWStr * This,
- /* [in] */ BOOL fNoAccess);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )(
- IMLangStringWStr * This,
- /* [retval][out] */ long *plLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMLStr )(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IUnknown *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMLStr )(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ IUnknown *pUnkOuter,
- /* [in] */ DWORD dwClsContext,
- /* [in] */ const IID *piid,
- /* [out] */ IUnknown **ppDestMLStr,
- /* [out] */ long *plDestPos,
- /* [out] */ long *plDestLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetWStr )(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStrBufW )(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IMLangStringBufW *pSrcBuf,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetWStr )(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [size_is][out] */ WCHAR *pszDest,
- /* [in] */ long cchDest,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStrBufW )(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ IMLangStringBufW **ppDestBuf,
- /* [out] */ long *plDestLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockWStr )(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long lFlags,
- /* [in] */ long cchRequest,
- /* [size_is][size_is][out] */ WCHAR **ppszDest,
- /* [out] */ long *pcchDest,
- /* [out] */ long *plDestLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockWStr )(
- IMLangStringWStr * This,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLocale )(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ LCID locale);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLocale )(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ LCID *plocale,
- /* [out] */ long *plLocalePos,
- /* [out] */ long *plLocaleLen);
-
- END_INTERFACE
- } IMLangStringWStrVtbl;
- interface IMLangStringWStr
- {
- CONST_VTBL struct IMLangStringWStrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangStringWStr_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangStringWStr_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangStringWStr_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangStringWStr_Sync(This,fNoAccess)
- (This)->lpVtbl -> Sync(This,fNoAccess)
- #define IMLangStringWStr_GetLength(This,plLen)
- (This)->lpVtbl -> GetLength(This,plLen)
- #define IMLangStringWStr_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
- (This)->lpVtbl -> SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
- #define IMLangStringWStr_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
- (This)->lpVtbl -> GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
- #define IMLangStringWStr_SetWStr(This,lDestPos,lDestLen,pszSrc,cchSrc,pcchActual,plActualLen)
- (This)->lpVtbl -> SetWStr(This,lDestPos,lDestLen,pszSrc,cchSrc,pcchActual,plActualLen)
- #define IMLangStringWStr_SetStrBufW(This,lDestPos,lDestLen,pSrcBuf,pcchActual,plActualLen)
- (This)->lpVtbl -> SetStrBufW(This,lDestPos,lDestLen,pSrcBuf,pcchActual,plActualLen)
- #define IMLangStringWStr_GetWStr(This,lSrcPos,lSrcLen,pszDest,cchDest,pcchActual,plActualLen)
- (This)->lpVtbl -> GetWStr(This,lSrcPos,lSrcLen,pszDest,cchDest,pcchActual,plActualLen)
- #define IMLangStringWStr_GetStrBufW(This,lSrcPos,lSrcMaxLen,ppDestBuf,plDestLen)
- (This)->lpVtbl -> GetStrBufW(This,lSrcPos,lSrcMaxLen,ppDestBuf,plDestLen)
- #define IMLangStringWStr_LockWStr(This,lSrcPos,lSrcLen,lFlags,cchRequest,ppszDest,pcchDest,plDestLen)
- (This)->lpVtbl -> LockWStr(This,lSrcPos,lSrcLen,lFlags,cchRequest,ppszDest,pcchDest,plDestLen)
- #define IMLangStringWStr_UnlockWStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
- (This)->lpVtbl -> UnlockWStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
- #define IMLangStringWStr_SetLocale(This,lDestPos,lDestLen,locale)
- (This)->lpVtbl -> SetLocale(This,lDestPos,lDestLen,locale)
- #define IMLangStringWStr_GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
- (This)->lpVtbl -> GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_SetWStr_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringWStr_SetWStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_SetStrBufW_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IMLangStringBufW *pSrcBuf,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringWStr_SetStrBufW_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_GetWStr_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [size_is][out] */ WCHAR *pszDest,
- /* [in] */ long cchDest,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringWStr_GetWStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_GetStrBufW_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ IMLangStringBufW **ppDestBuf,
- /* [out] */ long *plDestLen);
- void __RPC_STUB IMLangStringWStr_GetStrBufW_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_LockWStr_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long lFlags,
- /* [in] */ long cchRequest,
- /* [size_is][size_is][out] */ WCHAR **ppszDest,
- /* [out] */ long *pcchDest,
- /* [out] */ long *plDestLen);
- void __RPC_STUB IMLangStringWStr_LockWStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_UnlockWStr_Proxy(
- IMLangStringWStr * This,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringWStr_UnlockWStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_SetLocale_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ LCID locale);
- void __RPC_STUB IMLangStringWStr_SetLocale_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringWStr_GetLocale_Proxy(
- IMLangStringWStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ LCID *plocale,
- /* [out] */ long *plLocalePos,
- /* [out] */ long *plLocaleLen);
- void __RPC_STUB IMLangStringWStr_GetLocale_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMLangStringWStr_INTERFACE_DEFINED__ */
- #ifndef __IMLangStringAStr_INTERFACE_DEFINED__
- #define __IMLangStringAStr_INTERFACE_DEFINED__
- /* interface IMLangStringAStr */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IMLangStringAStr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C04D65D2-B70D-11D0-B188-00AA0038C969")
- IMLangStringAStr : public IMLangString
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAStr(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ UINT uCodePage,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStrBufA(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ UINT uCodePage,
- /* [in] */ IMLangStringBufA *pSrcBuf,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAStr(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ UINT uCodePageIn,
- /* [out] */ UINT *puCodePageOut,
- /* [size_is][out] */ CHAR *pszDest,
- /* [in] */ long cchDest,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStrBufA(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ UINT *puDestCodePage,
- /* [out] */ IMLangStringBufA **ppDestBuf,
- /* [out] */ long *plDestLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockAStr(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long lFlags,
- /* [in] */ UINT uCodePageIn,
- /* [in] */ long cchRequest,
- /* [out] */ UINT *puCodePageOut,
- /* [size_is][size_is][out] */ CHAR **ppszDest,
- /* [out] */ long *pcchDest,
- /* [out] */ long *plDestLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnlockAStr(
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLocale(
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ LCID locale) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLocale(
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ LCID *plocale,
- /* [out] */ long *plLocalePos,
- /* [out] */ long *plLocaleLen) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangStringAStrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangStringAStr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangStringAStr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangStringAStr * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sync )(
- IMLangStringAStr * This,
- /* [in] */ BOOL fNoAccess);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )(
- IMLangStringAStr * This,
- /* [retval][out] */ long *plLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMLStr )(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ IUnknown *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMLStr )(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ IUnknown *pUnkOuter,
- /* [in] */ DWORD dwClsContext,
- /* [in] */ const IID *piid,
- /* [out] */ IUnknown **ppDestMLStr,
- /* [out] */ long *plDestPos,
- /* [out] */ long *plDestLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetAStr )(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ UINT uCodePage,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStrBufA )(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ UINT uCodePage,
- /* [in] */ IMLangStringBufA *pSrcBuf,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAStr )(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ UINT uCodePageIn,
- /* [out] */ UINT *puCodePageOut,
- /* [size_is][out] */ CHAR *pszDest,
- /* [in] */ long cchDest,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStrBufA )(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ UINT *puDestCodePage,
- /* [out] */ IMLangStringBufA **ppDestBuf,
- /* [out] */ long *plDestLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LockAStr )(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long lFlags,
- /* [in] */ UINT uCodePageIn,
- /* [in] */ long cchRequest,
- /* [out] */ UINT *puCodePageOut,
- /* [size_is][size_is][out] */ CHAR **ppszDest,
- /* [out] */ long *pcchDest,
- /* [out] */ long *plDestLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnlockAStr )(
- IMLangStringAStr * This,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLocale )(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ LCID locale);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLocale )(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ LCID *plocale,
- /* [out] */ long *plLocalePos,
- /* [out] */ long *plLocaleLen);
-
- END_INTERFACE
- } IMLangStringAStrVtbl;
- interface IMLangStringAStr
- {
- CONST_VTBL struct IMLangStringAStrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangStringAStr_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangStringAStr_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangStringAStr_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangStringAStr_Sync(This,fNoAccess)
- (This)->lpVtbl -> Sync(This,fNoAccess)
- #define IMLangStringAStr_GetLength(This,plLen)
- (This)->lpVtbl -> GetLength(This,plLen)
- #define IMLangStringAStr_SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
- (This)->lpVtbl -> SetMLStr(This,lDestPos,lDestLen,pSrcMLStr,lSrcPos,lSrcLen)
- #define IMLangStringAStr_GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
- (This)->lpVtbl -> GetMLStr(This,lSrcPos,lSrcLen,pUnkOuter,dwClsContext,piid,ppDestMLStr,plDestPos,plDestLen)
- #define IMLangStringAStr_SetAStr(This,lDestPos,lDestLen,uCodePage,pszSrc,cchSrc,pcchActual,plActualLen)
- (This)->lpVtbl -> SetAStr(This,lDestPos,lDestLen,uCodePage,pszSrc,cchSrc,pcchActual,plActualLen)
- #define IMLangStringAStr_SetStrBufA(This,lDestPos,lDestLen,uCodePage,pSrcBuf,pcchActual,plActualLen)
- (This)->lpVtbl -> SetStrBufA(This,lDestPos,lDestLen,uCodePage,pSrcBuf,pcchActual,plActualLen)
- #define IMLangStringAStr_GetAStr(This,lSrcPos,lSrcLen,uCodePageIn,puCodePageOut,pszDest,cchDest,pcchActual,plActualLen)
- (This)->lpVtbl -> GetAStr(This,lSrcPos,lSrcLen,uCodePageIn,puCodePageOut,pszDest,cchDest,pcchActual,plActualLen)
- #define IMLangStringAStr_GetStrBufA(This,lSrcPos,lSrcMaxLen,puDestCodePage,ppDestBuf,plDestLen)
- (This)->lpVtbl -> GetStrBufA(This,lSrcPos,lSrcMaxLen,puDestCodePage,ppDestBuf,plDestLen)
- #define IMLangStringAStr_LockAStr(This,lSrcPos,lSrcLen,lFlags,uCodePageIn,cchRequest,puCodePageOut,ppszDest,pcchDest,plDestLen)
- (This)->lpVtbl -> LockAStr(This,lSrcPos,lSrcLen,lFlags,uCodePageIn,cchRequest,puCodePageOut,ppszDest,pcchDest,plDestLen)
- #define IMLangStringAStr_UnlockAStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
- (This)->lpVtbl -> UnlockAStr(This,pszSrc,cchSrc,pcchActual,plActualLen)
- #define IMLangStringAStr_SetLocale(This,lDestPos,lDestLen,locale)
- (This)->lpVtbl -> SetLocale(This,lDestPos,lDestLen,locale)
- #define IMLangStringAStr_GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
- (This)->lpVtbl -> GetLocale(This,lSrcPos,lSrcMaxLen,plocale,plLocalePos,plLocaleLen)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_SetAStr_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ UINT uCodePage,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringAStr_SetAStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_SetStrBufA_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ UINT uCodePage,
- /* [in] */ IMLangStringBufA *pSrcBuf,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringAStr_SetStrBufA_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_GetAStr_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ UINT uCodePageIn,
- /* [out] */ UINT *puCodePageOut,
- /* [size_is][out] */ CHAR *pszDest,
- /* [in] */ long cchDest,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringAStr_GetAStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_GetStrBufA_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ UINT *puDestCodePage,
- /* [out] */ IMLangStringBufA **ppDestBuf,
- /* [out] */ long *plDestLen);
- void __RPC_STUB IMLangStringAStr_GetStrBufA_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_LockAStr_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long lFlags,
- /* [in] */ UINT uCodePageIn,
- /* [in] */ long cchRequest,
- /* [out] */ UINT *puCodePageOut,
- /* [size_is][size_is][out] */ CHAR **ppszDest,
- /* [out] */ long *pcchDest,
- /* [out] */ long *plDestLen);
- void __RPC_STUB IMLangStringAStr_LockAStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_UnlockAStr_Proxy(
- IMLangStringAStr * This,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [out] */ long *pcchActual,
- /* [out] */ long *plActualLen);
- void __RPC_STUB IMLangStringAStr_UnlockAStr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_SetLocale_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lDestPos,
- /* [in] */ long lDestLen,
- /* [in] */ LCID locale);
- void __RPC_STUB IMLangStringAStr_SetLocale_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangStringAStr_GetLocale_Proxy(
- IMLangStringAStr * This,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcMaxLen,
- /* [out] */ LCID *plocale,
- /* [out] */ long *plLocalePos,
- /* [out] */ long *plLocaleLen);
- void __RPC_STUB IMLangStringAStr_GetLocale_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMLangStringAStr_INTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_CMLangString;
- #ifdef __cplusplus
- class DECLSPEC_UUID("C04D65CF-B70D-11D0-B188-00AA0038C969")
- CMLangString;
- #endif
- #ifndef __IMLangLineBreakConsole_INTERFACE_DEFINED__
- #define __IMLangLineBreakConsole_INTERFACE_DEFINED__
- /* interface IMLangLineBreakConsole */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IMLangLineBreakConsole;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F5BE2EE1-BFD7-11D0-B188-00AA0038C969")
- IMLangLineBreakConsole : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BreakLineML(
- /* [in] */ IMLangString *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long cMinColumns,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *plLineLen,
- /* [out] */ long *plSkipLen) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BreakLineW(
- /* [in] */ LCID locale,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *pcchLine,
- /* [out] */ long *pcchSkip) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BreakLineA(
- /* [in] */ LCID locale,
- /* [in] */ UINT uCodePage,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *pcchLine,
- /* [out] */ long *pcchSkip) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangLineBreakConsoleVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangLineBreakConsole * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangLineBreakConsole * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangLineBreakConsole * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BreakLineML )(
- IMLangLineBreakConsole * This,
- /* [in] */ IMLangString *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long cMinColumns,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *plLineLen,
- /* [out] */ long *plSkipLen);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BreakLineW )(
- IMLangLineBreakConsole * This,
- /* [in] */ LCID locale,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *pcchLine,
- /* [out] */ long *pcchSkip);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BreakLineA )(
- IMLangLineBreakConsole * This,
- /* [in] */ LCID locale,
- /* [in] */ UINT uCodePage,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *pcchLine,
- /* [out] */ long *pcchSkip);
-
- END_INTERFACE
- } IMLangLineBreakConsoleVtbl;
- interface IMLangLineBreakConsole
- {
- CONST_VTBL struct IMLangLineBreakConsoleVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangLineBreakConsole_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangLineBreakConsole_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangLineBreakConsole_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangLineBreakConsole_BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen)
- (This)->lpVtbl -> BreakLineML(This,pSrcMLStr,lSrcPos,lSrcLen,cMinColumns,cMaxColumns,plLineLen,plSkipLen)
- #define IMLangLineBreakConsole_BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
- (This)->lpVtbl -> BreakLineW(This,locale,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
- #define IMLangLineBreakConsole_BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
- (This)->lpVtbl -> BreakLineA(This,locale,uCodePage,pszSrc,cchSrc,cMaxColumns,pcchLine,pcchSkip)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangLineBreakConsole_BreakLineML_Proxy(
- IMLangLineBreakConsole * This,
- /* [in] */ IMLangString *pSrcMLStr,
- /* [in] */ long lSrcPos,
- /* [in] */ long lSrcLen,
- /* [in] */ long cMinColumns,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *plLineLen,
- /* [out] */ long *plSkipLen);
- void __RPC_STUB IMLangLineBreakConsole_BreakLineML_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangLineBreakConsole_BreakLineW_Proxy(
- IMLangLineBreakConsole * This,
- /* [in] */ LCID locale,
- /* [size_is][in] */ const WCHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *pcchLine,
- /* [out] */ long *pcchSkip);
- void __RPC_STUB IMLangLineBreakConsole_BreakLineW_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMLangLineBreakConsole_BreakLineA_Proxy(
- IMLangLineBreakConsole * This,
- /* [in] */ LCID locale,
- /* [in] */ UINT uCodePage,
- /* [size_is][in] */ const CHAR *pszSrc,
- /* [in] */ long cchSrc,
- /* [in] */ long cMaxColumns,
- /* [out] */ long *pcchLine,
- /* [out] */ long *pcchSkip);
- void __RPC_STUB IMLangLineBreakConsole_BreakLineA_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMLangLineBreakConsole_INTERFACE_DEFINED__ */
- #ifndef __IEnumCodePage_INTERFACE_DEFINED__
- #define __IEnumCodePage_INTERFACE_DEFINED__
- /* interface IEnumCodePage */
- /* [unique][uuid][object] */
- #define MAX_MIMECP_NAME ( 64 )
- #define MAX_MIMECSET_NAME ( 50 )
- #define MAX_MIMEFACE_NAME ( 32 )
- typedef
- enum tagMIMECONTF
- { MIMECONTF_MAILNEWS = 0x1,
- MIMECONTF_BROWSER = 0x2,
- MIMECONTF_MINIMAL = 0x4,
- MIMECONTF_IMPORT = 0x8,
- MIMECONTF_SAVABLE_MAILNEWS = 0x100,
- MIMECONTF_SAVABLE_BROWSER = 0x200,
- MIMECONTF_EXPORT = 0x400,
- MIMECONTF_PRIVCONVERTER = 0x10000,
- MIMECONTF_VALID = 0x20000,
- MIMECONTF_VALID_NLS = 0x40000,
- MIMECONTF_MIME_IE4 = 0x10000000,
- MIMECONTF_MIME_LATEST = 0x20000000,
- MIMECONTF_MIME_REGISTRY = 0x40000000
- } MIMECONTF;
- typedef struct tagMIMECPINFO
- {
- DWORD dwFlags;
- UINT uiCodePage;
- UINT uiFamilyCodePage;
- WCHAR wszDescription[ 64 ];
- WCHAR wszWebCharset[ 50 ];
- WCHAR wszHeaderCharset[ 50 ];
- WCHAR wszBodyCharset[ 50 ];
- WCHAR wszFixedWidthFont[ 32 ];
- WCHAR wszProportionalFont[ 32 ];
- BYTE bGDICharset;
- } MIMECPINFO;
- typedef struct tagMIMECPINFO *PMIMECPINFO;
- typedef struct tagMIMECSETINFO
- {
- UINT uiCodePage;
- UINT uiInternetEncoding;
- WCHAR wszCharset[ 50 ];
- } MIMECSETINFO;
- typedef struct tagMIMECSETINFO *PMIMECSETINFO;
- typedef /* [unique] */ IEnumCodePage *LPENUMCODEPAGE;
- EXTERN_C const IID IID_IEnumCodePage;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("275c23e3-3747-11d0-9fea-00aa003f8646")
- IEnumCodePage : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumCodePage **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [out] */ PMIMECPINFO rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumCodePageVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumCodePage * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumCodePage * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumCodePage * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumCodePage * This,
- /* [out] */ IEnumCodePage **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumCodePage * This,
- /* [in] */ ULONG celt,
- /* [out] */ PMIMECPINFO rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumCodePage * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumCodePage * This,
- /* [in] */ ULONG celt);
-
- END_INTERFACE
- } IEnumCodePageVtbl;
- interface IEnumCodePage
- {
- CONST_VTBL struct IEnumCodePageVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumCodePage_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumCodePage_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumCodePage_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumCodePage_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumCodePage_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumCodePage_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumCodePage_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumCodePage_Clone_Proxy(
- IEnumCodePage * This,
- /* [out] */ IEnumCodePage **ppEnum);
- void __RPC_STUB IEnumCodePage_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumCodePage_Next_Proxy(
- IEnumCodePage * This,
- /* [in] */ ULONG celt,
- /* [out] */ PMIMECPINFO rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumCodePage_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumCodePage_Reset_Proxy(
- IEnumCodePage * This);
- void __RPC_STUB IEnumCodePage_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumCodePage_Skip_Proxy(
- IEnumCodePage * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumCodePage_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumCodePage_INTERFACE_DEFINED__ */
- #ifndef __IEnumRfc1766_INTERFACE_DEFINED__
- #define __IEnumRfc1766_INTERFACE_DEFINED__
- /* interface IEnumRfc1766 */
- /* [unique][uuid][object] */
- #define MAX_RFC1766_NAME ( 6 )
- #define MAX_LOCALE_NAME ( 32 )
- typedef struct tagRFC1766INFO
- {
- LCID lcid;
- WCHAR wszRfc1766[ 6 ];
- WCHAR wszLocaleName[ 32 ];
- } RFC1766INFO;
- typedef struct tagRFC1766INFO *PRFC1766INFO;
- typedef /* [unique] */ IEnumRfc1766 *LPENUMRFC1766;
- EXTERN_C const IID IID_IEnumRfc1766;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3dc39d1d-c030-11d0-b81b-00c04fc9b31f")
- IEnumRfc1766 : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumRfc1766 **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [out] */ PRFC1766INFO rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumRfc1766Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumRfc1766 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumRfc1766 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumRfc1766 * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumRfc1766 * This,
- /* [out] */ IEnumRfc1766 **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumRfc1766 * This,
- /* [in] */ ULONG celt,
- /* [out] */ PRFC1766INFO rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumRfc1766 * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumRfc1766 * This,
- /* [in] */ ULONG celt);
-
- END_INTERFACE
- } IEnumRfc1766Vtbl;
- interface IEnumRfc1766
- {
- CONST_VTBL struct IEnumRfc1766Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumRfc1766_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumRfc1766_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumRfc1766_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumRfc1766_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumRfc1766_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumRfc1766_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumRfc1766_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumRfc1766_Clone_Proxy(
- IEnumRfc1766 * This,
- /* [out] */ IEnumRfc1766 **ppEnum);
- void __RPC_STUB IEnumRfc1766_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumRfc1766_Next_Proxy(
- IEnumRfc1766 * This,
- /* [in] */ ULONG celt,
- /* [out] */ PRFC1766INFO rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumRfc1766_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumRfc1766_Reset_Proxy(
- IEnumRfc1766 * This);
- void __RPC_STUB IEnumRfc1766_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumRfc1766_Skip_Proxy(
- IEnumRfc1766 * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumRfc1766_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumRfc1766_INTERFACE_DEFINED__ */
- #ifndef __IEnumScript_INTERFACE_DEFINED__
- #define __IEnumScript_INTERFACE_DEFINED__
- /* interface IEnumScript */
- /* [unique][uuid][object] */
- #define MAX_SCRIPT_NAME ( 48 )
- typedef BYTE SCRIPT_ID;
- typedef __int64 SCRIPT_IDS;
- typedef
- enum tagSCRIPTCONTF
- { sidDefault = 0,
- sidMerge = sidDefault + 1,
- sidAsciiSym = sidMerge + 1,
- sidAsciiLatin = sidAsciiSym + 1,
- sidLatin = sidAsciiLatin + 1,
- sidGreek = sidLatin + 1,
- sidCyrillic = sidGreek + 1,
- sidArmenian = sidCyrillic + 1,
- sidHebrew = sidArmenian + 1,
- sidArabic = sidHebrew + 1,
- sidDevanagari = sidArabic + 1,
- sidBengali = sidDevanagari + 1,
- sidGurmukhi = sidBengali + 1,
- sidGujarati = sidGurmukhi + 1,
- sidOriya = sidGujarati + 1,
- sidTamil = sidOriya + 1,
- sidTelugu = sidTamil + 1,
- sidKannada = sidTelugu + 1,
- sidMalayalam = sidKannada + 1,
- sidThai = sidMalayalam + 1,
- sidLao = sidThai + 1,
- sidTibetan = sidLao + 1,
- sidGeorgian = sidTibetan + 1,
- sidHangul = sidGeorgian + 1,
- sidKana = sidHangul + 1,
- sidBopomofo = sidKana + 1,
- sidHan = sidBopomofo + 1,
- sidEthiopic = sidHan + 1,
- sidCanSyllabic = sidEthiopic + 1,
- sidCherokee = sidCanSyllabic + 1,
- sidYi = sidCherokee + 1,
- sidBraille = sidYi + 1,
- sidRunic = sidBraille + 1,
- sidOgham = sidRunic + 1,
- sidSinhala = sidOgham + 1,
- sidSyriac = sidSinhala + 1,
- sidBurmese = sidSyriac + 1,
- sidKhmer = sidBurmese + 1,
- sidThaana = sidKhmer + 1,
- sidMongolian = sidThaana + 1,
- sidUserDefined = sidMongolian + 1,
- sidLim = sidUserDefined + 1,
- sidFEFirst = sidHangul,
- sidFELast = sidHan
- } SCRIPTCONTF;
- typedef struct tagSCRIPTINFO
- {
- SCRIPT_ID ScriptId;
- UINT uiCodePage;
- WCHAR wszDescription[ 48 ];
- WCHAR wszFixedWidthFont[ 32 ];
- WCHAR wszProportionalFont[ 32 ];
- } SCRIPTINFO;
- typedef struct tagSCRIPTINFO *PSCRIPTINFO;
- typedef /* [unique] */ IEnumScript *LPENUMScript;
- EXTERN_C const IID IID_IEnumScript;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("AE5F1430-388B-11d2-8380-00C04F8F5DA1")
- IEnumScript : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumScript **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [out] */ PSCRIPTINFO rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumScriptVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumScript * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumScript * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumScript * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumScript * This,
- /* [out] */ IEnumScript **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumScript * This,
- /* [in] */ ULONG celt,
- /* [out] */ PSCRIPTINFO rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumScript * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumScript * This,
- /* [in] */ ULONG celt);
-
- END_INTERFACE
- } IEnumScriptVtbl;
- interface IEnumScript
- {
- CONST_VTBL struct IEnumScriptVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumScript_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumScript_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumScript_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumScript_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumScript_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumScript_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumScript_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumScript_Clone_Proxy(
- IEnumScript * This,
- /* [out] */ IEnumScript **ppEnum);
- void __RPC_STUB IEnumScript_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumScript_Next_Proxy(
- IEnumScript * This,
- /* [in] */ ULONG celt,
- /* [out] */ PSCRIPTINFO rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumScript_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumScript_Reset_Proxy(
- IEnumScript * This);
- void __RPC_STUB IEnumScript_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumScript_Skip_Proxy(
- IEnumScript * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumScript_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumScript_INTERFACE_DEFINED__ */
- #ifndef __IMLangConvertCharset_INTERFACE_DEFINED__
- #define __IMLangConvertCharset_INTERFACE_DEFINED__
- /* interface IMLangConvertCharset */
- /* [unique][uuid][object] */
- typedef
- enum tagMLCONVCHARF
- { MLCONVCHARF_AUTODETECT = 1,
- MLCONVCHARF_ENTITIZE = 2,
- MLCONVCHARF_NCR_ENTITIZE = 2,
- MLCONVCHARF_NAME_ENTITIZE = 4,
- MLCONVCHARF_USEDEFCHAR = 8,
- MLCONVCHARF_NOBESTFITCHARS = 16,
- MLCONVCHARF_DETECTJPN = 32
- } MLCONVCHAR;
- typedef
- enum tagMLCPF
- { MLDETECTF_MAILNEWS = 0x1,
- MLDETECTF_BROWSER = 0x2,
- MLDETECTF_VALID = 0x4,
- MLDETECTF_VALID_NLS = 0x8,
- MLDETECTF_PRESERVE_ORDER = 0x10,
- MLDETECTF_PREFERRED_ONLY = 0x20,
- MLDETECTF_FILTER_SPECIALCHAR = 0x40
- } MLCP;
- typedef /* [unique] */ IMLangConvertCharset *LPMLANGCONVERTCHARSET;
- EXTERN_C const IID IID_IMLangConvertCharset;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("d66d6f98-cdaa-11d0-b822-00c04fc9b31f")
- IMLangConvertCharset : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Initialize(
- /* [in] */ UINT uiSrcCodePage,
- /* [in] */ UINT uiDstCodePage,
- /* [in] */ DWORD dwProperty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSourceCodePage(
- /* [out] */ UINT *puiSrcCodePage) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDestinationCodePage(
- /* [out] */ UINT *puiDstCodePage) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetProperty(
- /* [out] */ DWORD *pdwProperty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DoConversion(
- /* [in] */ BYTE *pSrcStr,
- /* [out][in] */ UINT *pcSrcSize,
- /* [in] */ BYTE *pDstStr,
- /* [out][in] */ UINT *pcDstSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DoConversionToUnicode(
- /* [in] */ CHAR *pSrcStr,
- /* [out][in] */ UINT *pcSrcSize,
- /* [in] */ WCHAR *pDstStr,
- /* [out][in] */ UINT *pcDstSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DoConversionFromUnicode(
- /* [in] */ WCHAR *pSrcStr,
- /* [out][in] */ UINT *pcSrcSize,
- /* [in] */ CHAR *pDstStr,
- /* [out][in] */ UINT *pcDstSize) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMLangConvertCharsetVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMLangConvertCharset * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMLangConvertCharset * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMLangConvertCharset * This);
-
- HRESULT ( STDMETHODCALLTYPE *Initialize )(
- IMLangConvertCharset * This,
- /* [in] */ UINT uiSrcCodePage,
- /* [in] */ UINT uiDstCodePage,
- /* [in] */ DWORD dwProperty);
-
- HRESULT ( STDMETHODCALLTYPE *GetSourceCodePage )(
- IMLangConvertCharset * This,
- /* [out] */ UINT *puiSrcCodePage);
-
- HRESULT ( STDMETHODCALLTYPE *GetDestinationCodePage )(
- IMLangConvertCharset * This,
- /* [out] */ UINT *puiDstCodePage);
-
- HRESULT ( STDMETHODCALLTYPE *GetProperty )(
- IMLangConvertCharset * This,
- /* [out] */ DWORD *pdwProperty);
-
- HRESULT ( STDMETHODCALLTYPE *DoConversion )(
- IMLangConvertCharset * This,
- /* [in] */ BYTE *pSrcStr,
- /* [out][in] */ UINT *pcSrcSize,
- /* [in] */ BYTE *pDstStr,
- /* [out][in] */ UINT *pcDstSize);
-
- HRESULT ( STDMETHODCALLTYPE *DoConversionToUnicode )(
- IMLangConvertCharset * This,
- /* [in] */ CHAR *pSrcStr,
- /* [out][in] */ UINT *pcSrcSize,
- /* [in] */ WCHAR *pDstStr,
- /* [out][in] */ UINT *pcDstSize);
-
- HRESULT ( STDMETHODCALLTYPE *DoConversionFromUnicode )(
- IMLangConvertCharset * This,
- /* [in] */ WCHAR *pSrcStr,
- /* [out][in] */ UINT *pcSrcSize,
- /* [in] */ CHAR *pDstStr,
- /* [out][in] */ UINT *pcDstSize);
-
- END_INTERFACE
- } IMLangConvertCharsetVtbl;
- interface IMLangConvertCharset
- {
- CONST_VTBL struct IMLangConvertCharsetVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMLangConvertCharset_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMLangConvertCharset_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMLangConvertCharset_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMLangConvertCharset_Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty)
- (This)->lpVtbl -> Initialize(This,uiSrcCodePage,uiDstCodePage,dwProperty)
- #define IMLangConvertCharset_GetSourceCodePage(This,puiSrcCodePage)
- (This)->lpVtbl -> GetSourceCodePage(This,puiSrcCodePage)
- #define IMLangConvertCharset_GetDestinationCodePage(This,puiDstCodePage)
- (This)->lpVtbl -> GetDestinationCodePage(This,puiDstCodePage)
- #define IMLangConvertCharset_GetProperty(This,pdwProperty)
- (This)->lpVtbl -> GetProperty(This,pdwProperty)
- #define IMLangConvertCharset_DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
- (This)->lpVtbl -> DoConversion(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
- #define IMLangConvertCharset_DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
- (This)->lpVtbl -> DoConversionToUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
- #define IMLangConvertCharset_DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
- (This)->lpVtbl -> DoConversionFromUnicode(This,pSrcStr,pcSrcSize,pDstStr,pcDstSize)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IMLangConvertCharset_Initialize_Proxy(
- IMLangConvertCharset * This,
- /* [in] */ UINT uiSrcCodePage,
- /* [in] */ UINT uiDstCodePage,
- /* [in] */ DWORD dwProperty);
- void __RPC_STUB IMLangConvertCharset_Initialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMLangConvertCharset_GetSourceCodePage_Proxy(
- IMLangConvertCharset * This,
- /* [out] */ UINT *puiSrcCodePage);
- void __RPC_STUB IMLangConvertCharset_GetSourceCodePage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMLangConvertCharset_GetDestinationCodePage_Proxy(