Nikolay Sivov : gdiplus: Stub for GdipGetImagePaletteSize.
Module: wine Branch: master Commit: 348c115af1b7078e9fd0f78c47739e0965e73e25 URL: http://source.winehq.org/git/wine.git/?a=commit;h=348c115af1b7078e9fd0f78c47... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Tue Dec 2 00:17:10 2008 +0300 gdiplus: Stub for GdipGetImagePaletteSize. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index a7d21f8..c77d075 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -292,7 +292,7 @@ @ stdcall GdipGetImageHorizontalResolution(ptr ptr) @ stub GdipGetImageItemData @ stub GdipGetImagePalette -@ stub GdipGetImagePaletteSize +@ stdcall GdipGetImagePaletteSize(ptr ptr) @ stdcall GdipGetImagePixelFormat(ptr ptr) @ stdcall GdipGetImageRawFormat(ptr ptr) @ stub GdipGetImageThumbnail diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 6e0c468..581eb27 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -748,6 +748,16 @@ GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage *image, REAL *res) return NotImplemented; } +GpStatus WINGDIPAPI GdipGetImagePaletteSize(GpImage *image, INT *size) +{ + FIXME("%p %p\n", image, size); + + if(!image || !size) + return InvalidParameter; + + return NotImplemented; +} + /* FIXME: test this function for non-bitmap types */ GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage *image, PixelFormat *format) {
participants (1)
-
Alexandre Julliard