Module: wine Branch: master Commit: 15a1723c1a504b5e3e5da913bd8b6e36581e8a1b URL: http://source.winehq.org/git/wine.git/?a=commit;h=15a1723c1a504b5e3e5da913bd...
Author: Rob Shearman rob@codeweavers.com Date: Wed Apr 4 19:54:54 2007 +0100
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 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib16.c b/dlls/oleaut32/typelib16.c index b746810..69b4f65 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;