"Evan Stade" estade@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.