阅读:1481回复:7
vtoolsd的vxd下的lookaside函数是哪个?
在win2000、xp下有这个NPAGED_LOOKASIDE_LIST
但是在win9x下的vxd用哪个呢? 请各位帮帮忙 |
|
|
沙发#
发布于:2004-09-22 06:07
如果win9x下没有LookasideList,应该用哪个比较适合频繁分配内存
的操作? |
|
|
板凳#
发布于:2004-09-22 10:26
List_Allocate
PNODE List_Allocate( LISTHANDLE hList ); |
|
地板#
发布于:2004-09-22 17:41
谢谢兄弟的回答,正是我像要的
This service normally never destroys a node. Instead, the service places the node back in the free pool. The node can then quickly be reclaimed when the List_Allocate() service is called. If the list is created using the LF_Use_Heap value, this service calls the HeapFree() service for each node. |
|
|
地下室#
发布于:2004-09-22 18:24
噢~~~
ExInitializeNPagedLookasideList 好像win9x也有lookasidelist |
|
|
5楼#
发布于:2004-09-22 18:31
再问问个问题,
Size Specifies the size in bytes of each entry to be subsequently allocated from the lookaside list. 那个参数size,到底是每个节点的大小,还是整个链表的预分配的大小呢? |
|
|
6楼#
发布于:2004-09-22 21:49
当然是每个节点的大小啦
|
|
7楼#
发布于:2004-09-23 13:47
谢谢兄弟。
|
|
|