Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
List_Attach_Tail
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     esi, List       ; list handle
mov     eax, Node       ; address of node to attach
VMMcall List_Attach_Tail
 
The List_Attach_Tail service 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. This service can be used, for example, to move a node from one
list to another.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
List       Specifies the handle identifying a list. The handle must have
           been previously created using the List_Create service.
 
Node       Specifies the address of the node to attach. The node must have
           been previously created using the List_Allocate service.
 
Return Value
 
This service has no return value.
 
Comments
 
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.
 
Uses
 
Flags
 
See Also
 
List_Allocate, List_Create, List_Get_Next, List_Remove