List_Deallocate

include vmm.inc

mov     esi, List       ; list handle
mov     eax, Node       ; address of node to free
VMMCall List_Deallocate
 

Frees the specified node. Once a virtual device frees a node, it must not attempt to use the node. Uses EAX, Flags.

List
Handle of the list. The handle must have been previously created using the List_Create service.
Node
Address of the node to free. The node must have been previously created using the List_Allocate service.

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.

See Also

_HeapFree, List_Allocate, List_Create