rpcrt4: Implement NdrInterfacePointerMemorySize.

This commit is contained in:
Robert Shearman 2006-05-17 14:46:06 +01:00 committed by Alexandre Julliard
parent 45ee17899a
commit a8c51a4cd9
1 changed files with 11 additions and 2 deletions

View File

@ -324,8 +324,17 @@ void WINAPI NdrInterfacePointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
unsigned long WINAPI NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
PFORMAT_STRING pFormat)
{
FIXME("(%p,%p): stub\n", pStubMsg, pFormat);
return 0;
ULONG size;
TRACE("(%p,%p)\n", pStubMsg, pFormat);
size = *(ULONG *)pStubMsg->Buffer;
pStubMsg->Buffer += 4;
pStubMsg->MemorySize += 4;
pStubMsg->Buffer += size;
return pStubMsg->MemorySize;
}
/***********************************************************************