rpcrt4: Implement callback conformance.

This commit is contained in:
Robert Shearman 2006-01-03 12:07:17 +01:00 committed by Alexandre Julliard
parent 196829663a
commit 03060551d6
1 changed files with 9 additions and 1 deletions

View File

@ -375,9 +375,17 @@ PFORMAT_STRING ComputeConformanceOrVariance(
ptr = *(LPVOID*)ptr;
break;
case RPC_FC_CALLBACK:
{
unsigned char *old_stack_top = pStubMsg->StackTop;
pStubMsg->StackTop = ptr;
/* ofs is index into StubDesc->apfnExprEval */
FIXME("handle callback\n");
TRACE("callback conformance into apfnExprEval[%d]\n", ofs);
pStubMsg->StubDesc->apfnExprEval[ofs](pStubMsg);
pStubMsg->StackTop = old_stack_top;
goto finish_conf;
}
default:
break;
}