PATH: argsize for VT_DATE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ciao, Marcus

Changelog:
	Handle argsize for VT_DATE.

Index: tmarshal.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tmarshal.c,v
retrieving revision 1.6
diff -u -r1.6 tmarshal.c
--- tmarshal.c	10 Jun 2002 02:30:20 -0000	1.6
+++ tmarshal.c	13 Jun 2002 21:58:10 -0000
@@ -363,6 +363,8 @@
 static int const
 _argsize(DWORD vt) {
     switch (vt) {
+    case VT_DATE:
+	return sizeof(DATE)/sizeof(DWORD);
     case VT_VARIANT:
 	return (sizeof(VARIANT)+3)/sizeof(DWORD);
     default:
@@ -373,6 +375,8 @@
 static int
 _xsize(TYPEDESC *td) {
     switch (td->vt) {
+    case VT_DATE:
+	return sizeof(DATE);
     case VT_VARIANT:
 	return sizeof(VARIANT)+3;
     case VT_CARRAY: {


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux