c++ code

Dmitry Timoshkov dmitry at codeweavers.com
Tue May 29 03:05:36 CDT 2007


"Evan Stade" <estade at gmail.com> wrote:

> The API prototypes use types that are defined as C++ classes.  For example,
> one prototype (from GdiPlusFlat.h) is
> 
> GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **cloneBrush);
> 
> And GpBrush is defined as
> 
> class GpBrush {};

Yes, Microsoft doesn't support calling GDI+ flat API from anything but C++
wrappers. But it shouldn't be too hard to construct an appropriate object
in plain C that represents GpBrush for instance.

-- 
Dmitry.



More information about the wine-devel mailing list