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

This commit is contained in:
Rob Shearman 2009-11-18 11:40:44 +00:00 committed by Alexandre Julliard
parent 0d78a883c0
commit d6f293f7be
1 changed files with 4 additions and 0 deletions

View File

@ -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);