Handle argsize for VT_DATE.

This commit is contained in:
Marcus Meissner 2002-06-14 00:36:42 +00:00 committed by Alexandre Julliard
parent 55d1ea7c75
commit c18a6aa8fd
1 changed files with 4 additions and 0 deletions

View File

@ -363,6 +363,8 @@ static ICOM_VTABLE(IRpcProxyBuffer) tmproxyvtable = {
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 @@ _argsize(DWORD vt) {
static int
_xsize(TYPEDESC *td) {
switch (td->vt) {
case VT_DATE:
return sizeof(DATE);
case VT_VARIANT:
return sizeof(VARIANT)+3;
case VT_CARRAY: {