Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- dlls/rpcrt4/tests/rpc.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index d3a3aee..492f84b 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -568,6 +568,29 @@ static void test_I_RpcMapWin32Status(void) } }
+static void test_NdrServerCallAll(void) +{ + void *pNdrServerCallAll = + (void *)GetProcAddress(GetModuleHandleA("rpcrt4.dll"), + "NdrServerCallAll"); + + if (!pNdrServerCallAll) + { +#ifdef _WIN64 + ok(FALSE, "NdrServerCallAll not exported\n"); +#else + ok(TRUE, ""); +#endif + return; + } + +#ifndef _WIN64 + ok(FALSE, "NdrServerCallAll is exported\n"); +#else + ok(TRUE, ""); +#endif +} + static void test_RpcStringBindingParseA(void) { static unsigned char valid_binding[] = "00000000-0000-0000-c000-000000000046@ncacn_np:.[endpoint=\pipe\test]"; @@ -1197,6 +1220,7 @@ START_TEST( rpc ) TestDceErrorInqText(); test_towers(); test_I_RpcMapWin32Status(); + test_NdrServerCallAll(); test_RpcStringBindingParseA(); test_RpcExceptionFilter("I_RpcExceptionFilter"); test_RpcExceptionFilter("RpcExceptionFilter");