Hi,
I am getting an error telling me that the 'int' expected an identifier, what
should my statement look like. This is a class member
[DllImport("Gdi32.dll", EntryPoint= "CombineRgn", SetLastError=true,
CharSet=CharSet.Auto)]
static extern int CombineRegion(IntPtr dst, IntPtr src1, IntPtr src2,
CombineRegionOptions options);
MS Public - 20 Jan 2004 15:57 GMT
I Think I found the answer to this one. This seems to do the trick
/** @attribute DllImport("Gdi32.dll", EntryPoint= "CombineRgn",
SetLastError=true, CharSet=CharSet.Auto)] */
public static native int CombineRegion(IntPtr dst, IntPtr src1, IntPtr
src2);
Regards
> Hi,
>
[quoted text clipped - 6 lines]
> static extern int CombineRegion(IntPtr dst, IntPtr src1, IntPtr src2,
> CombineRegionOptions options);
Lars-Inge T?nnessen - 20 Jan 2004 17:32 GMT
Yes,
C# = [...]
J# = /** @attribute ... */

Signature
Regards,
Lars-Inge Tonnessen
http://emailme.larsinge.com
http://www.larsinge.com