Support more arguments in _invoke().
This commit is contained in:
parent
976dd6c075
commit
43e73ebba2
|
@ -4503,6 +4503,15 @@ _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args) {
|
||||||
case 11:
|
case 11:
|
||||||
res = func(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10]);
|
res = func(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10]);
|
||||||
break;
|
break;
|
||||||
|
case 12:
|
||||||
|
res = func(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11]);
|
||||||
|
break;
|
||||||
|
case 13:
|
||||||
|
res = func(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11],args[12]);
|
||||||
|
break;
|
||||||
|
case 14:
|
||||||
|
res = func(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11],args[12],args[13]);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("unsupported number of arguments %d in stdcall\n",nrargs);
|
FIXME("unsupported number of arguments %d in stdcall\n",nrargs);
|
||||||
res = -1;
|
res = -1;
|
||||||
|
|
Loading…
Reference in New Issue