Cannot understand the addressof operator followed by name/function corresponds to the process of the parameter list of the parameters of how handed in, according to past experience, will certainly be in the call would transmit the parameters in the procedure or function, such as call procName (form1. The HWND), but simply do not know when calls the Windows API addressof behind of the parameters of the procedure/function is how to be handed in and operation of
CodePudding user response:
When somebody else callback functions, you call, what parameters, is somebody else's decision, don't need you to consider,
If the callback function call what you is the parameter, the more parameters
CodePudding user response:
Take function addresses addressof mean;
Addressof func is func function address, general is long;
Know function addresses the API procedure, we can call a function;