[PATCH 2/7] d3dx9: Add IUnknown method calls to ID3DXMesh.

Henri Verbeet hverbeet at gmail.com
Fri Jun 25 12:00:00 CDT 2010

On 25 June 2010 18:14, Misha Koshelev <misha680 at gmail.com> wrote:
> If I do not declare these functions, how do I call the Release method of
> the appropriate interfaces?
> Specifically, I started looking at the test for line.c - I believe that
> if I create a mesh, I have to release it.
If it's just about releasing the interface, using the generic
IUnknown_Release macro should always work. The larger issue though is
that most (all?) of the d3dx9 interfaces don't have corresponding C
macros. That means you'll have to call those functions explicitly
through lpVtbl in C, but you'd have to do that when using the MS
headers as well.

More information about the wine-devel mailing list