rpcrt4: [1/2] Improve stub for I_RpcBindingInqTransportType, with test
Dmitry Timoshkov
dmitry at codeweavers.com
Sat Aug 9 22:21:11 CDT 2008
Detlef Riekenberg <wine.dev at web.de> wrote:
> @@ -848,6 +848,10 @@ RPC_STATUS WINAPI I_RpcBindingInqTransportType( RPC_BINDING_HANDLE Binding, unsi
> {
>
> FIXME( "(%p,%p): stub\n", Binding, Type);
> +
> + /* NT: RPC_S_NO_CONTEXT_AVAILABLE, 9x: RPC_S_NO_CALL_ACTIVE */
> + if (!Binding) return RPC_S_NO_CONTEXT_AVAILABLE;
According to your test this should be
if (!Binding || !Type) return RPC_S_NO_CONTEXT_AVAILABLE;
Also the comment doesn't belong here, it's ok to have in the test though.
--
Dmitry.
More information about the wine-devel
mailing list