it depends on the API itself for example the Win32 function EnumWindows()
takes as a first parameter a 32 bit pointer to a function ...

you should know that by looking at the prefix of the parameter name "lp" which always refers to Long Pointer