On 2 February 2012 14:57, Stefan Dösinger <[email protected]> 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.
- Re: [PATCH 1/2] ddraw/tests: Add some IDirect3DViewport i... Henri Verbeet
