Paul Vriens wrote:
> + /* Now a NULL hdc again */
> + hr = ScriptGetFontProperties(NULL,&psc,&sfp);
> + /* Save the psc pointer */
> + old_psc = psc;
> + ok( hr == S_OK, "(NULL,&psc,&sfp), expected S_OK, got %08x\n", (unsigned int)hr);
> + ok( psc == old_psc, "Expected psc not to be changed, was %p is now %p\n", old_psc, psc);
> + ScriptFreeCache(&psc);
> + ok( psc == NULL, "Expected psc to be NULL, got %p\n", psc);
actually You didn't test anything about psc here, after setting old_psc
nothing happens with psc -- save the pointer before calling
ScriptGetFontProperties(NULL,&psc,&sfp);
HTH,
Joris