From d6f293f7be7a8d4093e9233b841d94eb8d729ff3 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Wed, 18 Nov 2009 11:40:44 +0000 Subject: [PATCH] rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID. --- dlls/rpcrt4/tests/ndr_marshall.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c index 97811152edc..dbf29a5f3b5 100644 --- a/dlls/rpcrt4/tests/ndr_marshall.c +++ b/dlls/rpcrt4/tests/ndr_marshall.c @@ -1046,6 +1046,10 @@ static void test_fullpointer_xlat(void) /* "unmarshaling" phase */ + ret = NdrFullPointerQueryRefId(pXlatTables, 0x0, 0, &Pointer); + todo_wine + ok(ret == 1, "ret should be 1 instead of 0x%x\n", ret); + ret = NdrFullPointerQueryRefId(pXlatTables, 0x2, 0, &Pointer); ok(ret == 0, "ret should be 0 instead of 0x%x\n", ret); ok(Pointer == (void *)0xcafebabe, "Pointer should be 0xcafebabe instead of %p\n", Pointer);