Commit 76e07b9f authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

CallProc[Ex]32W called with lpProcAddress==NULL should return zero and

not crash.
parent cbebcd28
......@@ -461,7 +461,9 @@ static DWORD RELAY_CallProc32W(int Ex)
dsprintf(relay,"])");
VA_END16( valist );
switch (nrofargs) {
if (!proc32) ret = 0;
else switch (nrofargs)
{
case 0: ret = proc32();
break;
case 1: ret = proc32(args[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment