mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:45:50 +00:00
[GDIPLUS_WINETEST]
- Fix VS2010 build svn path=/trunk/; revision=70175
This commit is contained in:
parent
d95ba7f8c7
commit
d876ecae70
1 changed files with 6 additions and 6 deletions
|
@ -4719,10 +4719,10 @@ static void test_createeffect(void)
|
||||||
CGpEffect *effect;
|
CGpEffect *effect;
|
||||||
HMODULE mod = GetModuleHandleA("gdiplus.dll");
|
HMODULE mod = GetModuleHandleA("gdiplus.dll");
|
||||||
int i;
|
int i;
|
||||||
const GUID effectlist[] =
|
const GUID * const effectlist[] =
|
||||||
{BlurEffectGuid, SharpenEffectGuid, ColorMatrixEffectGuid, ColorLUTEffectGuid,
|
{&BlurEffectGuid, &SharpenEffectGuid, &ColorMatrixEffectGuid, &ColorLUTEffectGuid,
|
||||||
BrightnessContrastEffectGuid, HueSaturationLightnessEffectGuid, LevelsEffectGuid,
|
&BrightnessContrastEffectGuid, &HueSaturationLightnessEffectGuid, &LevelsEffectGuid,
|
||||||
TintEffectGuid, ColorBalanceEffectGuid, RedEyeCorrectionEffectGuid, ColorCurveEffectGuid};
|
&TintEffectGuid, &ColorBalanceEffectGuid, &RedEyeCorrectionEffectGuid, &ColorCurveEffectGuid};
|
||||||
|
|
||||||
pGdipCreateEffect = (void*)GetProcAddress( mod, "GdipCreateEffect");
|
pGdipCreateEffect = (void*)GetProcAddress( mod, "GdipCreateEffect");
|
||||||
pGdipDeleteEffect = (void*)GetProcAddress( mod, "GdipDeleteEffect");
|
pGdipDeleteEffect = (void*)GetProcAddress( mod, "GdipDeleteEffect");
|
||||||
|
@ -4739,9 +4739,9 @@ static void test_createeffect(void)
|
||||||
stat = pGdipCreateEffect(noneffect, &effect);
|
stat = pGdipCreateEffect(noneffect, &effect);
|
||||||
todo_wine expect(Win32Error, stat);
|
todo_wine expect(Win32Error, stat);
|
||||||
|
|
||||||
for(i=0; i < sizeof(effectlist) / sizeof(GUID); i++)
|
for(i=0; i < sizeof(effectlist) / sizeof(effectlist[0]); i++)
|
||||||
{
|
{
|
||||||
stat = pGdipCreateEffect(effectlist[i], &effect);
|
stat = pGdipCreateEffect(*effectlist[i], &effect);
|
||||||
todo_wine expect(Ok, stat);
|
todo_wine expect(Ok, stat);
|
||||||
if(stat == Ok)
|
if(stat == Ok)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue