inetcomm: Add a missing function and fix some idl.

This commit is contained in:
Huw Davies 2008-09-11 10:34:26 +01:00 committed by Alexandre Julliard
parent ef180ec3e7
commit 2fa80dacde
2 changed files with 15 additions and 4 deletions

View File

@ -308,6 +308,13 @@ static HRESULT WINAPI MimeInternat_GetCodePageInfo(IMimeInternational *iface, CO
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI MimeInternat_CanConvertCodePages(IMimeInternational *iface, CODEPAGEID cpiSource,
CODEPAGEID cpiDest)
{
FIXME("stub\n");
return E_NOTIMPL;
}
static HRESULT WINAPI MimeInternat_DecodeHeader(IMimeInternational *iface, HCHARSET hCharset, static HRESULT WINAPI MimeInternat_DecodeHeader(IMimeInternational *iface, HCHARSET hCharset,
LPCSTR pszData, LPCSTR pszData,
LPPROPVARIANT pDecoded, LPPROPVARIANT pDecoded,
@ -390,6 +397,7 @@ static IMimeInternationalVtbl mime_internat_vtbl =
MimeInternat_FindCharset, MimeInternat_FindCharset,
MimeInternat_GetCharsetInfo, MimeInternat_GetCharsetInfo,
MimeInternat_GetCodePageInfo, MimeInternat_GetCodePageInfo,
MimeInternat_CanConvertCodePages,
MimeInternat_DecodeHeader, MimeInternat_DecodeHeader,
MimeInternat_EncodeHeader, MimeInternat_EncodeHeader,
MimeInternat_ConvertBuffer, MimeInternat_ConvertBuffer,

View File

@ -252,6 +252,9 @@ library MIMEOLE
HRESULT GetCodePageInfo( HRESULT GetCodePageInfo(
[in] CODEPAGEID cpiCodePage, [in] CODEPAGEID cpiCodePage,
[in, out] LPCODEPAGEINFO pCodePageInfo); [in, out] LPCODEPAGEINFO pCodePageInfo);
HRESULT CanConvertCodePages(
[in] CODEPAGEID cpiSource,
[in] CODEPAGEID cpiDest);
HRESULT DecodeHeader( HRESULT DecodeHeader(
[in] HCHARSET hCharset, [in] HCHARSET hCharset,
[in] LPCSTR pszData, [in] LPCSTR pszData,
@ -273,22 +276,22 @@ library MIMEOLE
[in] CODEPAGEID cpiDest, [in] CODEPAGEID cpiDest,
[in] LPPROPVARIANT pIn, [in] LPPROPVARIANT pIn,
[in, out] LPPROPVARIANT pOut); [in, out] LPPROPVARIANT pOut);
HRESULT MLANG_ConvertInetReset(); HRESULT MLANG_ConvertInetReset(void);
HRESULT MLANG_ConvertInetString( HRESULT MLANG_ConvertInetString(
[in] CODEPAGEID cpiSource, [in] CODEPAGEID cpiSource,
[in] CODEPAGEID cpiDest, [in] CODEPAGEID cpiDest,
[in] LPCSTR pSource, [in] LPCSTR pSource,
[in] int *pnSizeOfSource, [in] int *pnSizeOfSource,
[out] LPSTR pDestination, [in,out,unique] LPSTR pDestination,
[in] int *pnDstSize); [in] int *pnDstSize);
HRESULT Rfc1522Decode( HRESULT Rfc1522Decode(
[in] LPCSTR pszValue, [in] LPCSTR pszValue,
[in] LPCSTR pszCharset, [in,ref] LPCSTR pszCharset,
[in] ULONG cchmax, [in] ULONG cchmax,
[out] LPSTR *ppszDecoded); [out] LPSTR *ppszDecoded);
HRESULT Rfc1522Encode( HRESULT Rfc1522Encode(
[in] LPCSTR pszValue, [in] LPCSTR pszValue,
[in] HCHARSET hCharset, [in] HCHARSET hCharset,
[out] LPSTR *ppszEncoded); [out] LPSTR *ppszEncoded);
} }