Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- dlls/rpcrt4/tests/rpc.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index d3a3aee..a7b2eeb 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -568,6 +568,21 @@ static void test_I_RpcMapWin32Status(void) } }
+static void test_NdrServerCallAll(void) +{ + void *pNdrServerCallAll = + (void *)GetProcAddress(GetModuleHandleA("rpcrt4.dll"), + "NdrServerCallAll"); + DWORD dwLE = GetLastError(); + +#ifndef _WIN64 + ok(pNdrServerCallAll == NULL, "NdrServerCallAll is exported\n"); + ok(dwLE == ERROR_PROC_NOT_FOUND, "expected ERROR_PROC_NOT_FOUND, got %u\n", dwLE); +#else + ok(pNdrServerCallAll != NULL, "NdrServerCallAll not exported, error %u\n", dwLE); +#endif +} + static void test_RpcStringBindingParseA(void) { static unsigned char valid_binding[] = "00000000-0000-0000-c000-000000000046@ncacn_np:.[endpoint=\pipe\test]"; @@ -1197,6 +1212,7 @@ START_TEST( rpc ) TestDceErrorInqText(); test_towers(); test_I_RpcMapWin32Status(); + test_NdrServerCallAll(); test_RpcStringBindingParseA(); test_RpcExceptionFilter("I_RpcExceptionFilter"); test_RpcExceptionFilter("RpcExceptionFilter");