gdiplus: Add a stub for GdipSetEmpty.

This commit is contained in:
Lei Zhang 2008-04-09 13:09:34 -07:00 committed by Alexandre Julliard
parent 20a8cf6417
commit 5d7e2254f6
3 changed files with 43 additions and 1 deletions

View file

@ -19,6 +19,7 @@ C_SRCS = \
matrix.c \
pathiterator.c \
pen.c \
region.c \
stringformat.c
@MAKE_DLL_RULES@

View file

@ -520,7 +520,7 @@
@ stdcall GdipSetCustomLineCapStrokeJoin(ptr long)
@ stdcall GdipSetCustomLineCapWidthScale(ptr long)
@ stdcall GdipSetEffectParameters(ptr ptr long)
@ stub GdipSetEmpty
@ stdcall GdipSetEmpty(ptr)
@ stub GdipSetImageAttributesCachedBackground
@ stdcall GdipSetImageAttributesColorKeys(ptr long long long long)
@ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long)

41
dlls/gdiplus/region.c Normal file
View file

@ -0,0 +1,41 @@
/*
* Copyright (C) 2008 Google (Lei Zhang)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *region)
{
static int calls;
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}