2 Feb
2012
2 Feb
'12
2:02 p.m.
On 2 February 2012 14:57, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
+static ULONG get_refcount(IUnknown *test_iface) +{ + IUnknown_AddRef(test_iface); + return IUnknown_Release(test_iface); +} ... + LONG ref; ... + ref = get_refcount((IUnknown *)d3d); + ok(ref == 2, "IDirect3D refcount is %d\n", ref); Well yeah, get_refcount() returns ULONG now, but you should fix the type of "ref" and the format strings as well.