include vmm.inc
mov esi, List ; list handle
mov eax, Node ; address of node to attach
VMMCall List_Attach_Tail
Attaches a list node to the tail (end) of a list. A virtual device can attach a node to any list that has a matching node size and was created with the same flags. (It is an error, for example, to attach a node allocated from a list created as LF_Use_Heap to a list created without that flag, even if the node sizes agree.) This service can be used, for example, to move a node from one list to another. Uses Flags.
The service attaches the node to the end of the list. A virtual device can retrieve the address of the node by calling the List_Get_Next service and specifying the address of the previous end of the list.
List_Allocate, List_Create, List_Get_Next, List_Remove