diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index fa0b84300f1..90caac83750 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -1772,7 +1772,7 @@ static void CDECL c2vectparallel_wrapper(int start, int end, int step, int end_i _vcomp_fork_call_wrapper(function, nargs, wrapper_args); } -void CDECL C2VectParallel(int start, int end, int step, BOOL end_included, int thread_count, +void WINAPIV C2VectParallel(int start, int end, int step, BOOL end_included, int thread_count, BOOL dynamic_distribution, void *function, int nargs, ...) { struct vcomp_thread_data *thread_data; diff --git a/dlls/vcomp110/tests/vcomp110.c b/dlls/vcomp110/tests/vcomp110.c index 65e3c36aa01..e0be668dffd 100644 --- a/dlls/vcomp110/tests/vcomp110.c +++ b/dlls/vcomp110/tests/vcomp110.c @@ -23,7 +23,7 @@ static HMODULE vcomp_handle; -static void (CDECL *pC2VectParallel)(int start, int end, int step, BOOL end_included, int thread_count, +static void (WINAPIV *pC2VectParallel)(int start, int end, int step, BOOL end_included, int thread_count, BOOL dynamic_distribution, void *function, int nargs, ...); static int (CDECL *p_vcomp_get_thread_num)(void); static int (CDECL *pomp_get_num_threads)(void);