... int nYEnd, // 线条终点的Y坐标 LINEDDAPROC lpLineFunc, // 回调函数的指针 LPARAM lpData // 应用程序定义数据的指针); ...
基于16个网页-相关网页
指向要调用的回调函数的指针(对于一种或多种事件类型)——为每种特定的事件注册一个回调函数,然后将在事件发生时调用这些函数。
Pointer to the callback function to be invoked (for one or more event Types) — for each specific event, register a callback function, and then these functions are called when the event occurs.
委托是一个方法的引用指针。它允许我们将方法作为一个变量并传递方法作为回调函数的一个变量。
Delegate is a reference pointer to a method. It allows us to treat method as a variable and pass method as a variable for a callback.
该故障发生的可能性取决于从封送委托到对函数指针发出回调之间的时间以及垃圾回收的频率。
The probability of the failure depends on the time between marshaling the delegate and the callback on the function pointer as well as the frequency of garbage collections.
应用推荐