MPC_AddToScenarioPCD( ) is a variadic function
, which means it accepts a variable number of arguments.
On a 32-bit Windows architecture, MPuLib will use the stdcall
calling convention, except on variadic functions
, in which case it uses the cdecl
calling convention. As a result, test developers using MPuLib on 32-bit architectures are required to declare 2 different DLL objects (WinDLL and CDLL) and use the CDLL object for calls to variadic functions.
This does not apply to other architectures.