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

inetcomm: Stub for MimeOleGetCharsetInfo.

parent 43958866
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
@ stub MimeOleGetBodyPropA @ stub MimeOleGetBodyPropA
@ stub MimeOleGetBodyPropW @ stub MimeOleGetBodyPropW
@ stub MimeOleGetCertsFromThumbprints @ stub MimeOleGetCertsFromThumbprints
@ stub MimeOleGetCharsetInfo @ stdcall MimeOleGetCharsetInfo(ptr ptr)
@ stub MimeOleGetCodePageCharset @ stub MimeOleGetCodePageCharset
@ stub MimeOleGetCodePageInfo @ stub MimeOleGetCodePageInfo
@ stub MimeOleGetContentTypeExt @ stub MimeOleGetContentTypeExt
......
...@@ -2888,3 +2888,10 @@ HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator **alloc) ...@@ -2888,3 +2888,10 @@ HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator **alloc)
{ {
return MimeAllocator_create(NULL, (void**)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) ...@@ -216,6 +216,8 @@ static void test_CreateMessage(void)
ULONG count; ULONG count;
FINDBODY find_struct; FINDBODY find_struct;
HCHARSET hcs; HCHARSET hcs;
INETCSETINFO csi;
char text[] = "text"; char text[] = "text";
HBODY *body_list; HBODY *body_list;
PROPVARIANT prop; PROPVARIANT prop;
...@@ -308,6 +310,8 @@ static void test_CreateMessage(void) ...@@ -308,6 +310,8 @@ static void test_CreateMessage(void)
hr = IMimeMessage_GetCharset(body, &hcs); hr = IMimeMessage_GetCharset(body, &hcs);
ok(hr == S_OK, "ret %08x\n", hr); ok(hr == S_OK, "ret %08x\n", hr);
ok(hcs == NULL, "ret %p\n", hcs); ok(hcs == NULL, "ret %p\n", hcs);
hr = MimeOleGetCharsetInfo(hcs, &csi);
ok(hr == E_INVALIDARG, "ret %08x\n", hr);
IMimeMessage_Release(msg); 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