oleaut32-CreateTypeLib: Fix a misplaced address operator.

This commit is contained in:
Zebediah Figura 2020-01-27 16:05:11 -06:00
parent 3b2fb113fa
commit 8b862038c5

View File

@ -1,17 +1,17 @@
From c82a7265f3a5fa9114c7881fba3047aae960340a Mon Sep 17 00:00:00 2001
From e7a52382dcd503090919b41cffd7a55ec48f8ec5 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Wed, 2 Sep 2015 13:09:34 +1000
Subject: oleaut32: Implement semi-stub for CreateTypeLib.
Subject: [PATCH] oleaut32: Implement semi-stub for CreateTypeLib.
---
dlls/oleaut32/typelib.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 2a24b79..4066d03 100644
index 451753e23..885be2646 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -424,11 +424,21 @@ HRESULT WINAPI QueryPathOfRegTypeLib( REFGUID guid, WORD wMaj, WORD wMin, LCID l
@@ -422,11 +422,21 @@ HRESULT WINAPI QueryPathOfRegTypeLib( REFGUID guid, WORD wMaj, WORD wMin, LCID l
* Success: S_OK
* Failure: Status
*/
@ -30,7 +30,7 @@ index 2a24b79..4066d03 100644
+ hres = CreateTypeLib2(syskind, file, &typelib2);
+ if(SUCCEEDED(hres))
+ {
+ hres = ICreateTypeLib2_QueryInterface(typelib2, &IID_ICreateTypeLib, (void **)&ctlib);
+ hres = ICreateTypeLib2_QueryInterface(typelib2, &IID_ICreateTypeLib, (void **)ctlib);
+ ICreateTypeLib2_Release(typelib2);
+ }
+
@ -39,5 +39,5 @@ index 2a24b79..4066d03 100644
/******************************************************************************
--
2.7.0
2.25.0