gdiplus: Added GdipGetImageType stub.
This commit is contained in:
parent
b0acdb8389
commit
8770b6e821
|
@ -280,7 +280,7 @@
|
|||
@ stub GdipGetImagePixelFormat
|
||||
@ stdcall GdipGetImageRawFormat(ptr ptr)
|
||||
@ stub GdipGetImageThumbnail
|
||||
@ stub GdipGetImageType
|
||||
@ stdcall GdipGetImageType(ptr ptr)
|
||||
@ stdcall GdipGetImageVerticalResolution(ptr ptr)
|
||||
@ stdcall GdipGetImageWidth(ptr ptr)
|
||||
@ stdcall GdipGetInterpolationMode(ptr ptr)
|
||||
|
|
|
@ -63,6 +63,19 @@ GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
|
|||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetImageType(GpImage *image, ImageType *type)
|
||||
{
|
||||
static int calls;
|
||||
|
||||
if(!image || !type)
|
||||
return InvalidParameter;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage *image, REAL *res)
|
||||
{
|
||||
static int calls;
|
||||
|
|
|
@ -157,6 +157,13 @@ enum MatrixOrder
|
|||
MatrixOrderAppend = 1
|
||||
};
|
||||
|
||||
enum ImageType
|
||||
{
|
||||
ImageTypeUnknown,
|
||||
ImageTypeBitmap,
|
||||
ImageTypeMetafile
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
typedef enum Unit Unit;
|
||||
|
@ -173,6 +180,7 @@ typedef enum PixelOffsetMode PixelOffsetMode;
|
|||
typedef enum DashCap DashCap;
|
||||
typedef enum DashStyle DashStyle;
|
||||
typedef enum MatrixOrder MatrixOrder;
|
||||
typedef enum ImageType ImageType;
|
||||
|
||||
#endif /* end of c typedefs */
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
|
|||
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
|
||||
GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
|
||||
GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
|
||||
GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
|
||||
GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
|
||||
|
|
Loading…
Reference in New Issue