Re: void dispatch_rpc() returns a value

2006-05-27 Thread Robert Shearman
Bill Medland wrote: On May 27, 2006 03:51 pm, Robert Shearman wrote: Bang Jun-Young wrote: dispatch_rpc() shouldn't return anything since it's a void function, but it actually does. Thank you for reviewing the code. RpcRaiseException is also a void function. Rather than write

Re: void dispatch_rpc() returns a value

2006-05-27 Thread Bill Medland
On May 27, 2006 03:51 pm, Robert Shearman wrote: > Bang Jun-Young wrote: > > Hi, > > > > I wonder how this has been possible so far: snip > >if (!params) return RpcRaiseException(E_OUTOFMEMORY); snip > > debugstr_guid(&ipid)); return RpcRaiseException(hr); snip > > > > dispatch_rpc() shouldn't

Re: void dispatch_rpc() returns a value

2006-05-27 Thread Robert Shearman
Bang Jun-Young wrote: Hi, I wonder how this has been possible so far: static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg) { struct dispatch_params *params; APARTMENT *apt; IPID ipid; HRESULT hr; RpcBindingInqObject(msg->Handle, &ipid); TRACE("ipid = %s, iMethod = %d\n", d

void dispatch_rpc() returns a value

2006-05-27 Thread Bang Jun-Young
Hi, I wonder how this has been possible so far: static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg) { struct dispatch_params *params; APARTMENT *apt; IPID ipid; HRESULT hr; RpcBindingInqObject(msg->Handle, &ipid); TRACE("ipid = %s, iMethod = %d\n", debugstr_guid(&ipid), msg