实作回呼函式 m) 有个迹象可以看出这个函式需要回呼函式,就是它有个 lpEnumFunc 引数。常常可以看到 lp (长指标,Long Pointer) 前置词与 Func 后置词,组合使用于接受指向回呼函式之指标的引数名称中。如需 Win32 函式的
基于103个网页-相关网页
lp Long Pointer 长指针
Specifies a long pointer to a DRAWITEMSTRUCT data structure that contains information about the item to be drawn and the type of drawing required.
指定了指向DRAWITEMSTRUCT数据结构的长指针,其中包含有关要画出的项和要求的绘图类型的信息。
Any pointer arithmetic should be performed using variables of type long regardless if in 32-bit or 64-bit mode.
无论是处于32位模式下还是处于64位模式下,都应当使用长型变量执行所有指针算法。
Systems with native 64-bit types often went to a model called "LP64," where the long and pointer sizes were both 64 bit.
本身支持64位类型的系统通常都采用一种称为“LP64”的模型,其中long类型和指针大小都是64位的。
应用推荐