Bernhard Kölbl : windows.media.speech: Rename impl_from_IAsyncInfo to async_inspectable_impl_from_IAsyncInfo.

Alexandre Julliard julliard at winehq.org
Thu May 19 16:15:12 CDT 2022


Module: wine
Branch: master
Commit: c73f06a586ca1c0d52128f6839e38fa192211185
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c73f06a586ca1c0d52128f6839e38fa192211185

Author: Bernhard Kölbl <besentv at gmail.com>
Date:   Tue May  3 13:37:32 2022 +0200

windows.media.speech: Rename impl_from_IAsyncInfo to async_inspectable_impl_from_IAsyncInfo.

Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windows.media.speech/async.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dlls/windows.media.speech/async.c b/dlls/windows.media.speech/async.c
index 79510d61dc7..eceda4338b3 100644
--- a/dlls/windows.media.speech/async.c
+++ b/dlls/windows.media.speech/async.c
@@ -231,11 +231,12 @@ static const struct IAsyncOperation_IInspectableVtbl async_inspectable_vtbl =
 
 /*
  *
- * IAsyncInfo
+ * IAsyncInfo for IAsyncOperation<IInspectable*>
  *
  */
 
-DEFINE_IINSPECTABLE(async_inspectable_info, IAsyncInfo, struct async_inspectable, IAsyncOperation_IInspectable_iface)
+DEFINE_IINSPECTABLE_(async_inspectable_info, IAsyncInfo, struct async_inspectable,
+                     async_inspectable_impl_from_IAsyncInfo, IAsyncInfo_iface, &impl->IAsyncOperation_IInspectable_iface)
 
 static HRESULT WINAPI async_inspectable_info_get_Id( IAsyncInfo *iface, UINT32 *id )
 {
@@ -245,7 +246,7 @@ static HRESULT WINAPI async_inspectable_info_get_Id( IAsyncInfo *iface, UINT32 *
 
 static HRESULT WINAPI async_inspectable_info_get_Status( IAsyncInfo *iface, AsyncStatus *status )
 {
-    struct async_inspectable *impl = impl_from_IAsyncInfo(iface);
+    struct async_inspectable *impl = async_inspectable_impl_from_IAsyncInfo(iface);
     HRESULT hr = S_OK;
 
     TRACE("iface %p, status %p.\n", iface, status);
@@ -261,7 +262,7 @@ static HRESULT WINAPI async_inspectable_info_get_Status( IAsyncInfo *iface, Asyn
 
 static HRESULT WINAPI async_inspectable_info_get_ErrorCode( IAsyncInfo *iface, HRESULT *error_code )
 {
-    struct async_inspectable *impl = impl_from_IAsyncInfo(iface);
+    struct async_inspectable *impl = async_inspectable_impl_from_IAsyncInfo(iface);
     HRESULT hr = S_OK;
 
     TRACE("iface %p, error_code %p.\n", iface, error_code);
@@ -278,7 +279,7 @@ static HRESULT WINAPI async_inspectable_info_get_ErrorCode( IAsyncInfo *iface, H
 
 static HRESULT WINAPI async_inspectable_info_Cancel( IAsyncInfo *iface )
 {
-    struct async_inspectable *impl = impl_from_IAsyncInfo(iface);
+    struct async_inspectable *impl = async_inspectable_impl_from_IAsyncInfo(iface);
     HRESULT hr = S_OK;
 
     TRACE("iface %p.\n", iface);
@@ -295,7 +296,7 @@ static HRESULT WINAPI async_inspectable_info_Cancel( IAsyncInfo *iface )
 
 static HRESULT WINAPI async_inspectable_info_Close( IAsyncInfo *iface )
 {
-    struct async_inspectable *impl = impl_from_IAsyncInfo(iface);
+    struct async_inspectable *impl = async_inspectable_impl_from_IAsyncInfo(iface);
     HRESULT hr = S_OK;
 
     TRACE("iface %p.\n", iface);




More information about the wine-cvs mailing list