public static extern int LoadImageFromHBitmap(ref int Image, IntPtr BitmapHandle);
CImage(IntPtr BitmapHandle) { hImage = -1; CheckForError(FSDK.LoadImageFromHBitmap(ref hImage, BitmapHandle)); PopulateHeightAndWidth(); }