From ea881d25fffb15f7cf4c6e2f1171db149933893b Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Fri, 18 Jan 2002 18:10:43 +0000 Subject: [PATCH] Added GradientFill stub. --- dlls/msimg32/msimg32.spec | 4 ++-- dlls/msimg32/msimg32_main.c | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/dlls/msimg32/msimg32.spec b/dlls/msimg32/msimg32.spec index f0c42ed9e54..f1385de6f98 100644 --- a/dlls/msimg32/msimg32.spec +++ b/dlls/msimg32/msimg32.spec @@ -3,10 +3,10 @@ type win32 import ntdll.dll -debug_channels() +debug_channels (msimg32) @ stub AlphaBlend @ stub DllInitialize -@ stub GradientFill +@ stdcall GradientFill (long ptr long ptr long long ) GradientFill @ stub TransparentBlt @ stub vSetDdrawflag diff --git a/dlls/msimg32/msimg32_main.c b/dlls/msimg32/msimg32_main.c index 67a01ed518c..1661ac529f1 100644 --- a/dlls/msimg32/msimg32_main.c +++ b/dlls/msimg32/msimg32_main.c @@ -1 +1,13 @@ -/* nothing here yet */ +#include "winbase.h" +#include "winerror.h" +#include "debugtools.h" + +DEFAULT_DEBUG_CHANNEL(msimg32); + +BOOL WINAPI GradientFill(HDC hdc, void * vert_array, ULONG nvert, + void * grad_array, ULONG ngrad, ULONG mode) +{ + FIXME("stub: %ld vertices %ld gradients mode %lx\n", nvert, ngrad, mode); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}