ole32: In 16-bit OLE, LPOLESTR uses multibyte,
not Unicode characters
so make LoadTypeLib16 take an LPSTR instead of LPOLESTR.
Robert Shearman
rob at codeweavers.com
Wed Apr 4 13:54:54 CDT 2007
---
dlls/oleaut32/typelib16.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
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;
More information about the wine-patches
mailing list