inetcomm: Stub for MimeOleGetCharsetInfo.
This commit is contained in:
parent
43958866a3
commit
b21b9c7372
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue