Maarten Lankhorst wrote:
- ok(RPC_S_OK == RpcServerUseProtseqEp(ncalrpc, 20, endpoint, NULL), "RpcServerUseProtseqEp\n");
- ok(RPC_S_OK == RpcServerRegisterIf(IFoo_v0_0_s_ifspec, NULL, NULL), "RpcServerRegisterIf\n");
- ok(RPC_S_OK == RpcServerListen(1, 20, TRUE), "RpcServerListen\n");
- status = RpcServerUseProtseqEp(ncalrpc, 20, endpoint, NULL);
- ok(RPC_S_OK == status, "RpcServerUseProtseqEp failed with status %08lx\n", status);
- status = RpcServerRegisterIf(IFoo_v0_0_s_ifspec, NULL, NULL);
- ok(RPC_S_OK == status, "RpcServerRegisterIf failed with status %08lx\n", status);
- status = RpcServerListen(1, 20, TRUE);
- ok(RPC_S_OK == status, "RpcServerListen failed with status %08lx\n", status);
Since the RPC status values are in decimal in winerror.h, it is more user-friendly to output them in decimal in the failure messages.