rpcrt4: Implement NdrSimpleStructMemorySize.
This commit is contained in:
parent
2aff761dfd
commit
b96d630022
|
@ -1491,11 +1491,17 @@ void WINAPI NdrSimpleStructBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
unsigned long WINAPI NdrSimpleStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
|
||||
PFORMAT_STRING pFormat)
|
||||
{
|
||||
/* unsigned size = *(LPWORD)(pFormat+2); */
|
||||
FIXME("(%p,%p): stub\n", pStubMsg, pFormat);
|
||||
unsigned short size = *(LPWORD)(pFormat+2);
|
||||
|
||||
TRACE("(%p,%p)\n", pStubMsg, pFormat);
|
||||
|
||||
ALIGN_POINTER(pStubMsg->Buffer, pFormat[1] + 1);
|
||||
pStubMsg->MemorySize += size;
|
||||
pStubMsg->Buffer += size;
|
||||
|
||||
if (pFormat[0] != RPC_FC_STRUCT)
|
||||
EmbeddedPointerMemorySize(pStubMsg, pFormat+4);
|
||||
return 0;
|
||||
return size;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue