The type is irrelevant as long as it has those four members (the Windows structure RECT fits the bill). The rectangle specifies the destination rectangle.
For MinGW is likely called "libfreeimage.a" or something like that. It is produced after you compile FreeImage from source code using the same compiler.
The image doesn't show up in the window with this code, linked to "FreeImage.lib". I've included "FreeImage.dll" in the "bin\Release" folder, and with the image it needs. Code:
I never used FreeImage or any image library in windows (you could load PNG images natively using GDI+ in windows, no library needed), but the idea is that you need to check return values from any functions you call and see where the problem is exactly.