Commit b21b9c73 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

inetcomm: Stub for MimeOleGetCharsetInfo.

parent 43958866
......@@ -67,7 +67,7 @@
@ stub MimeOleGetBodyPropA
@ stub MimeOleGetBodyPropW
@ stub MimeOleGetCertsFromThumbprints
@ stub MimeOleGetCharsetInfo
@ stdcall MimeOleGetCharsetInfo(ptr ptr)
@ stub MimeOleGetCodePageCharset
@ stub MimeOleGetCodePageInfo
@ stub MimeOleGetContentTypeExt
......
......@@ -2888,3 +2888,10 @@ HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator **alloc)
{
return MimeAllocator_create(NULL, (void**)alloc);
}
HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET hCharset, LPINETCSETINFO pCsetInfo)
{
FIXME("(%p, %p)\n", hCharset, pCsetInfo);
if(!hCharset) return E_INVALIDARG;
return E_FAIL;
}
......@@ -216,6 +216,8 @@ static void test_CreateMessage(void)
ULONG count;
FINDBODY find_struct;
HCHARSET hcs;
INETCSETINFO csi;
char text[] = "text";
HBODY *body_list;
PROPVARIANT prop;
......@@ -308,6 +310,8 @@ static void test_CreateMessage(void)
hr = IMimeMessage_GetCharset(body, &hcs);
ok(hr == S_OK, "ret %08x\n", hr);
ok(hcs == NULL, "ret %p\n", hcs);
hr = MimeOleGetCharsetInfo(hcs, &csi);
ok(hr == E_INVALIDARG, "ret %08x\n", hr);
IMimeMessage_Release(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment