rpcrt4: Implement NdrUserMarshalMemorySize.

This commit is contained in:
Robert Shearman 2006-05-18 03:39:19 +01:00 committed by Alexandre Julliard
parent 42b89791ff
commit c4fbad1d11
1 changed files with 8 additions and 3 deletions

View File

@ -2592,11 +2592,16 @@ unsigned long WINAPI NdrUserMarshalMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
PFORMAT_STRING pFormat)
{
unsigned index = *(const WORD*)&pFormat[2];
/* DWORD memsize = *(const WORD*)&pFormat[4]; */
FIXME("(%p,%p): stub\n", pStubMsg, pFormat);
DWORD memsize = *(const WORD*)&pFormat[4];
DWORD bufsize = *(const WORD*)&pFormat[6];
TRACE("(%p,%p)\n", pStubMsg, pFormat);
TRACE("index=%d\n", index);
return 0;
pStubMsg->MemorySize += memsize;
pStubMsg->Buffer += bufsize;
return pStubMsg->MemorySize;
}
/***********************************************************************