From 99deb21e2acf6e6f60b78a571a8edf6d2c7c15f2 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Wed, 19 Aug 2009 10:26:43 -0700 Subject: [PATCH 4/4] Test RpcEpRegisterA with NULL Annotation --- dlls/rpcrt4/tests/rpc_protseq.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/rpcrt4/tests/rpc_protseq.c b/dlls/rpcrt4/tests/rpc_protseq.c index 4837f6a..3acc38b 100644 --- a/dlls/rpcrt4/tests/rpc_protseq.c +++ b/dlls/rpcrt4/tests/rpc_protseq.c @@ -157,6 +157,9 @@ static void test_endpoint_mapper(RPC_CSTR protseq, RPC_CSTR address) /* register endpoints created in test_RpcServerUseProtseq */ status = RpcEpRegisterA(IFoo_v0_0_s_ifspec, binding_vector, NULL, annotation); ok(status == RPC_S_OK, "%s: RpcEpRegisterA failed with error %u\n", protseq, status); + /* reregister the same endpoint with no annotation */ + status = RpcEpRegisterA(IFoo_v0_0_s_ifspec, binding_vector, NULL, NULL); + ok(status == RPC_S_OK, "%s: RpcEpRegisterA failed with error %u\n", protseq, status); status = RpcStringBindingCompose(NULL, protseq, address, NULL, NULL, &binding); -- 1.6.3.2