Commit c35aa1d4 authored by Alexandre Julliard's avatar Alexandre Julliard

rpcrt4: Adjust the start of the proxy virtual table for stubless proxies.

parent e00b4582
......@@ -167,8 +167,9 @@ static void init_psfactory( CStdPSFactoryBuffer *psfac, const ProxyFileInfo **fi
if (file_list[i]->pDelegatedIIDs && file_list[i]->pDelegatedIIDs[j])
{
fill_delegated_proxy_table( (IUnknownVtbl *)proxies[j]->Vtbl,
stubs[j]->header.DispatchTableCount );
void **vtbl = proxies[j]->Vtbl;
if (file_list[i]->TableVersion > 1) vtbl++;
fill_delegated_proxy_table( (IUnknownVtbl *)vtbl, stubs[j]->header.DispatchTableCount );
pSrcRpcStubVtbl = (void * const *)&CStdStubBuffer_Delegating_Vtbl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment