rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID.
This commit is contained in:
parent
0d78a883c0
commit
d6f293f7be
|
@ -1046,6 +1046,10 @@ static void test_fullpointer_xlat(void)
|
||||||
|
|
||||||
/* "unmarshaling" phase */
|
/* "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);
|
ret = NdrFullPointerQueryRefId(pXlatTables, 0x2, 0, &Pointer);
|
||||||
ok(ret == 0, "ret should be 0 instead of 0x%x\n", ret);
|
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);
|
ok(Pointer == (void *)0xcafebabe, "Pointer should be 0xcafebabe instead of %p\n", Pointer);
|
||||||
|
|
Loading…
Reference in New Issue