Is that declaration correct?
I've seen GdipDrawImageRectRectI for PowerBasic declared as follows:
Code:
DECLARE FUNCTION GdipDrawImageRectRectI ( _
BYVAL graphics AS DWORD, _
BYVAL pImage AS DWORD, _
BYVAL dstx AS LONG, _
BYVAL dsty AS LONG, _
BYVAL dstwidth AS LONG, _
BYVAL dstheight AS LONG, _
BYVAL srcx AS LONG, _
BYVAL srcy AS LONG, _
BYVAL srcwidth AS LONG, _
BYVAL srcheight AS LONG, _
BYVAL srcUnit AS LONG, _
BYVAL imageAttributes AS DWORD, _
BYVAL pcallback AS DWORD, _
BYVAL callbackData AS DWORD _
) AS LONG
I would assume there could be a similar declaration for a VB6 version. I haven't used Gdip... with vb6, so my only real experience with GDI+ is with the wrapped versions of the calls as part of .Net.