Group: GDI+ Image - Library: gdiplus
GpStatus WINGDIPAPI GdipGetImageType(
GpImage *image,
ImageType *type
)
DECLARE INTEGER GdipGetImageType IN gdiplus;
INTEGER img,;
INTEGER @ imgtype
img [in] Handle to Image Object
imgtype [out] ImageType enumeration value.
Returns GpStatus value, 0 means success.
typedef enum {
ImageTypeUnknown = 0,
ImageTypeBitmap = 1,
ImageTypeMetafile = 2
} ImageType;