MSI: spec for the MsiViewModify, small fix to records with streams

Mike McCormack mike at codeweavers.com
Sat Jul 3 20:40:49 CDT 2004


ChangeLog:
<aric at codeweavers.com>
* spec for the MsiViewModify, small fix to records with streams
-------------- next part --------------
diff -ur dlls/msi.old/msi.spec dlls/msi/msi.spec
--- dlls/msi.old/msi.spec	2004-07-03 20:37:04.000000000 -0500
+++ dlls/msi/msi.spec	2004-07-03 20:37:17.000000000 -0500
@@ -160,7 +160,7 @@
 160 stdcall MsiViewFetch(long ptr)
 161 stub MsiViewGetErrorA
 162 stub MsiViewGetErrorW
-163 stub MsiViewModify
+163 stdcall MsiViewModify(long long long)
 164 stdcall MsiDatabaseIsTablePersistentA(long str)
 165 stdcall MsiDatabaseIsTablePersistentW(long wstr)
 166 stdcall MsiViewGetColumnInfo(long long ptr)
diff -ur dlls/msi.old/record.c dlls/msi/record.c
--- dlls/msi.old/record.c	2004-07-03 20:37:04.000000000 -0500
+++ dlls/msi/record.c	2004-07-03 20:37:17.000000000 -0500
@@ -434,7 +434,10 @@
         return ERROR_INVALID_FIELD;
 
     if( rec->fields[iField].type != MSIFIELD_STREAM )
+    {
+        *sz = 0;
         return ERROR_INVALID_FIELD;
+    }
 
     stm = rec->fields[iField].u.stream;
     if( !stm )


More information about the wine-patches mailing list