From 15a1723c1a504b5e3e5da913bd8b6e36581e8a1b Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Wed, 4 Apr 2007 19:54:54 +0100 Subject: [PATCH] ole32: In 16-bit OLE, LPOLESTR uses multibyte, not Unicode characters so make LoadTypeLib16 take an LPSTR instead of LPOLESTR. --- dlls/oleaut32/typelib16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/typelib16.c b/dlls/oleaut32/typelib16.c index b746810267d..69b4f65f941 100644 --- a/dlls/oleaut32/typelib16.c +++ b/dlls/oleaut32/typelib16.c @@ -120,10 +120,10 @@ QueryPathOfRegTypeLib16( * Both parameters are FAR pointers. */ HRESULT WINAPI LoadTypeLib16( - LPOLESTR szFile, /* [in] Name of file to load from */ + LPSTR szFile, /* [in] Name of file to load from */ ITypeLib** pptLib) /* [out] Destination for loaded ITypeLib interface */ { - FIXME("(%s,%p): stub\n",debugstr_w((LPWSTR)szFile),pptLib); + FIXME("(%s,%p): stub\n",debugstr_a(szFile),pptLib); if (pptLib!=0) *pptLib=0;