I have a function that accepts a variable argument list. I would like to extend this function by adding a new argument to the beginning and then calling the original function but I am having trouble with the declaration. Can anyone help?
extern int OriginalFunction( int A, ... );
int NewFunction( char *psz, int A, ... )
// call original function
OriginalFunction( A, ??? );