Rob Shearman : rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID.

Alexandre Julliard julliard at winehq.org
Wed Nov 18 09:40:43 CST 2009


Module: wine
Branch: master
Commit: d6f293f7be7a8d4093e9233b841d94eb8d729ff3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d6f293f7be7a8d4093e9233b841d94eb8d729ff3

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Wed Nov 18 11:40:44 2009 +0000

rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID.

---

 dlls/rpcrt4/tests/ndr_marshall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c
index 9781115..dbf29a5 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);




More information about the wine-cvs mailing list