Nikolay Sivov : mfplat: Add VT_R4 case for propvariant tracing.

Alexandre Julliard julliard at winehq.org
Mon Feb 21 16:15:12 CST 2022


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Feb 20 18:48:12 2022 +0300

mfplat: Add VT_R4 case for propvariant tracing.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mfplat/mfplat_private.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/mfplat/mfplat_private.h b/dlls/mfplat/mfplat_private.h
index dc29545df73..8418c8eb2ef 100644
--- a/dlls/mfplat/mfplat_private.h
+++ b/dlls/mfplat/mfplat_private.h
@@ -133,6 +133,8 @@ static inline const char *debugstr_propvar(const PROPVARIANT *v)
             return wine_dbg_sprintf("%p {VT_UI8: %s}", v, wine_dbgstr_longlong(v->uhVal.QuadPart));
         case VT_I8:
             return wine_dbg_sprintf("%p {VT_I8: %s}", v, wine_dbgstr_longlong(v->hVal.QuadPart));
+        case VT_R4:
+            return wine_dbg_sprintf("%p {VT_R4: %.8e}", v, v->fltVal);
         case VT_R8:
             return wine_dbg_sprintf("%p {VT_R8: %lf}", v, v->dblVal);
         case VT_CLSID:




More information about the wine-cvs mailing list