List_Remove_First

include vmm.inc

mov     esi, List       ; list handle
VMMCall List_Remove_First

jz      list_empty      ; zero flag set if list is empty
mov     [Node], eax     ; address of node removed
 

Removes the first node from a list. Uses EAX, Flags.

List
Handle of the list. The handle must have been previously created using the List_Create service.

This service does not free the node. It is up to the virtual device to free the node, or attach it to another list.

See Also

List_Create, List_Remove