Re: [AD] microscopic issues compiling 4.1.13 with latest MinGW packages |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Oh, you mean like this:
>
> LPVOID temp = &directdraw;
>
> /* ...then query the DirectDraw2 interface */
> hr = IDirectDraw_QueryInterface(directdraw1, &IID_IDirectDraw2, &temp);
I guess that will not do what is intended. I'm thinking of
LPVOID temp;
/* ...then query the DirectDraw2 interface */
hr = IDirectDraw_QueryInterface(directdraw1, &IID_IDirectDraw2, &temp);
directdraw = temp;
--
Eric Botcazou