rpcrt4: Implement NdrInterfacePointerMemorySize.
This commit is contained in:
parent
45ee17899a
commit
a8c51a4cd9
|
@ -324,8 +324,17 @@ void WINAPI NdrInterfacePointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
|
||||||
unsigned long WINAPI NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
|
unsigned long WINAPI NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
|
||||||
PFORMAT_STRING pFormat)
|
PFORMAT_STRING pFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p): stub\n", pStubMsg, pFormat);
|
ULONG size;
|
||||||
return 0;
|
|
||||||
|
TRACE("(%p,%p)\n", pStubMsg, pFormat);
|
||||||
|
|
||||||
|
size = *(ULONG *)pStubMsg->Buffer;
|
||||||
|
pStubMsg->Buffer += 4;
|
||||||
|
pStubMsg->MemorySize += 4;
|
||||||
|
|
||||||
|
pStubMsg->Buffer += size;
|
||||||
|
|
||||||
|
return pStubMsg->MemorySize;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
Loading…
Reference in New Issue