include vmm.inc
VMMCall VMM_GetDDBList
mov [DDBList], eax
Retrieves the address of the DDB (Device Description Block) list. Uses EAX.
Virtual devices can walk the list of DDBs by following the DDB_Next field in the DDB. The end of the list is marked with a DDB_Next field equal to zero. Note that the DDB list can change as a result of dynamically-loaded VxDs, so virtual devices should not attempt to retain the value returned by this service for an extended period of time.