rpcrt4: Handle FC_IGNORE in the base type functions.

This commit is contained in:
Rob Shearman 2007-11-05 11:10:07 +00:00 committed by Alexandre Julliard
parent b8af667739
commit 04dc115b54
1 changed files with 9 additions and 0 deletions

View File

@ -5355,6 +5355,8 @@ static unsigned char *WINAPI NdrBaseTypeMarshall(
pStubMsg->Buffer += sizeof(USHORT);
TRACE("value: 0x%04x\n", *(UINT *)pMemory);
break;
case RPC_FC_IGNORE:
break;
default:
FIXME("Unhandled base type: 0x%02x\n", *pFormat);
}
@ -5428,6 +5430,8 @@ static unsigned char *WINAPI NdrBaseTypeUnmarshall(
pStubMsg->Buffer += sizeof(USHORT);
TRACE("value: 0x%08x\n", **(UINT **)ppMemory);
break;
case RPC_FC_IGNORE:
break;
default:
FIXME("Unhandled base type: 0x%02x\n", *pFormat);
}
@ -5485,6 +5489,8 @@ static void WINAPI NdrBaseTypeBufferSize(
ALIGN_LENGTH(pStubMsg->BufferLength, sizeof(error_status_t));
pStubMsg->BufferLength += sizeof(error_status_t);
break;
case RPC_FC_IGNORE:
break;
default:
FIXME("Unhandled base type: 0x%02x\n", *pFormat);
}
@ -5538,6 +5544,9 @@ static ULONG WINAPI NdrBaseTypeMemorySize(
pStubMsg->Buffer += sizeof(INT);
pStubMsg->MemorySize += sizeof(INT);
return sizeof(INT);
case RPC_FC_IGNORE:
pStubMsg->MemorySize += sizeof(void *);
return sizeof(void *);
default:
FIXME("Unhandled base type: 0x%02x\n", *pFormat);
return 0;