I am writing an custom callback function in Fortran for a piece of software (example here) that includes the following argument declaration
SUBROUTINE CONTACT_FO
I'm assuming MS products here. Fortran can be made to pass by value or by reference if the C or STDCALL attribute is used. See here:
C
STDCALL
http://msdn.microsoft.com/en-us/library/aa294334(v=vs.60).aspx