You don't have to pass with a struct...You can simply pass references or pointers and then assign the value the pointer is pointing to.
1 2 3 4 5
void myFunction(int &one, int *two)
{
one = aValue; //The integer you passed as one is now changed to the value you want.
*two = anotherValue; // The value the pointer was pointing to has changed..
}
I would think this is more valid than just creating an entire stucture for one function.