From what I can see, this isn't actually calling the function but rather setting the value of a function pointer. If you don't know what they are, function pointers are simply pointers to functions: You can assign functions to them and then call them, etc. These are normally used as callback functions, so the underlying API actually provides the parameters based on events that it recieves.