[PATCH] oleaut32: Support VT_INT_PTR in the get_type_size helper

Detlef Riekenberg wine.dev at web.de
Sun Jul 15 17:50:10 CDT 2012


used by IE7 (RMB next to the tab header)

--
By by ... Detlef
---
 dlls/oleaut32/usrmarshal.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c
index 2414a9e..12667b6 100644
--- a/dlls/oleaut32/usrmarshal.c
+++ b/dlls/oleaut32/usrmarshal.c
@@ -218,6 +218,9 @@ static unsigned int get_type_size(ULONG *pFlags, VARTYPE vt)
     case VT_INT:
     case VT_UINT:
         return sizeof(INT);
+    case VT_INT_PTR:
+    case VT_UINT_PTR:
+        return sizeof(INT_PTR);
     case VT_R4:
         return sizeof(FLOAT);
     case VT_R8:
-- 
1.7.5.4




More information about the wine-patches mailing list