#include "windef.h"
#include "winbase.h"
+#include "wine/winternl.h"
#include "winuser.h"
#include "objbase.h"
#include "ole2.h"
#include "wine/heap.h"
#include "wine/list.h"
#include "wine/debug.h"
-#include "wine/unicode.h"
#include "inetcomm_private.h"
{
const char *encoding = header->value.u.pszVal;
- if(!strcasecmp(encoding, "base64"))
+ if(!_strnicmp(encoding, "base64", -1))
body->encoding = IET_BASE64;
- else if(!strcasecmp(encoding, "quoted-printable"))
+ else if(!_strnicmp(encoding, "quoted-printable", -1))
body->encoding = IET_QP;
- else if(!strcasecmp(encoding, "7bit"))
+ else if(!_strnicmp(encoding, "7bit", -1))
body->encoding = IET_7BIT;
- else if(!strcasecmp(encoding, "8bit"))
+ else if(!_strnicmp(encoding, "8bit", -1))
body->encoding = IET_8BIT;
else
FIXME("unknown encoding %s\n", debugstr_a(encoding));
TRACE("display name %s\n", debugstr_w(display_name));
- len = strlenW(display_name);
+ len = lstrlenW(display_name);
mhtml_url = heap_alloc((len+1)*sizeof(WCHAR) + sizeof(mhtml_prefixW));
if(!mhtml_url)
return E_OUTOFMEMORY;
memcpy(mhtml_url, mhtml_prefixW, sizeof(mhtml_prefixW));
- strcpyW(mhtml_url + ARRAY_SIZE(mhtml_prefixW), display_name);
+ lstrcpyW(mhtml_url + ARRAY_SIZE(mhtml_prefixW), display_name);
HeapFree(GetProcessHeap(), 0, display_name);
hres = CreateURLMoniker(NULL, mhtml_url, moniker_new);